2FAuth/resources/js/views/profile/Settings.vue

29 lines
709 B
Vue
Raw Normal View History

<template>
2020-02-13 08:50:20 +01:00
<form-wrapper :fail="fail" :success="success">
<form @submit.prevent="handleSubmit" @keydown="form.onKeydown($event)">
<form-field :form="form" fieldName="FirstSetting" :label="$t('auth.forms.FirstSetting')" />
<form-buttons :isBusy="form.isBusy" :caption="$t('commons.save')" />
</form>
</form-wrapper>
</template>
<script>
import Form from './../../components/Form'
export default {
data(){
return {
success: '',
fail: '',
form: new Form({
FirstSetting: ''
})
}
},
methods : {
},
}
</script>