2
0
mirror of https://github.com/frappe/books.git synced 2024-12-25 20:11:15 +00:00
books/ui/components/Form/FormActions.vue
2018-06-27 20:08:27 +05:30

12 lines
361 B
Vue

<template>
<div class="frappe-form-actions d-flex justify-content-between align-items-center p-3 border-bottom">
<h5 class="m-0">{{ title || name }}</h5>
<f-button primary :disabled="!isDirty" @click="$emit('save')">{{ _('Save') }}</f-button>
</div>
</template>
<script>
export default {
props: ['doctype', 'name', 'title', 'isDirty']
}
</script>