mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-16 16:41:03 +02:00
Use Button tag for action controls
This commit is contained in:
@ -2,14 +2,12 @@
|
||||
<form-wrapper :title="$t('auth.webauthn.rename_device')">
|
||||
<form @submit.prevent="updateCredential" @keydown="form.onKeydown($event)">
|
||||
<form-field :form="form" fieldName="name" inputType="text" :label="$t('commons.new_name')" autofocus />
|
||||
<div class="field is-grouped">
|
||||
<div class="control">
|
||||
<v-button :isLoading="form.isBusy">{{ $t('commons.save') }}</v-button>
|
||||
</div>
|
||||
<div class="control">
|
||||
<button type="button" class="button is-text" @click="cancelCreation">{{ $t('commons.cancel') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
<form-buttons
|
||||
:submitId="'btnEditCredential'"
|
||||
:isBusy="form.isBusy"
|
||||
:caption="$t('commons.save')"
|
||||
:showCancelButton="true"
|
||||
cancelLandingView="settings.webauthn.devices" />
|
||||
</form>
|
||||
</form-wrapper>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user