2020-02-12 17:04:50 +01:00
|
|
|
<template>
|
2020-02-13 08:50:20 +01:00
|
|
|
<form-wrapper :fail="fail" :success="success">
|
2020-02-12 23:24:35 +01:00
|
|
|
<form @submit.prevent="handleSubmit" @keydown="form.onKeydown($event)">
|
|
|
|
<div class="field">
|
|
|
|
<label class="label">{{ $t('auth.forms.name') }}</label>
|
|
|
|
<div class="control">
|
|
|
|
<input id="FirstSetting" type="text" class="input" v-model="form.FirstSetting" autofocus />
|
|
|
|
</div>
|
|
|
|
<field-error :form="form" field="FirstSetting" />
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped">
|
|
|
|
<div class="control">
|
|
|
|
<v-button :isLoading="form.isBusy" >{{ $t('commons.save') }}</v-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form-wrapper>
|
2020-02-12 17:04:50 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
2020-02-12 23:24:35 +01:00
|
|
|
import Form from './../../components/Form'
|
|
|
|
|
2020-02-12 17:04:50 +01:00
|
|
|
export default {
|
|
|
|
data(){
|
|
|
|
return {
|
2020-02-12 23:24:35 +01:00
|
|
|
success: '',
|
|
|
|
fail: '',
|
|
|
|
form: new Form({
|
|
|
|
FirstSetting: ''
|
|
|
|
})
|
2020-02-12 17:04:50 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
methods : {
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|