mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 08:10:28 +00:00
use form area
This commit is contained in:
parent
679ba416f2
commit
a85e780ea2
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
:autofocus="true"
|
:autofocus="true"
|
||||||
label="Label Name"
|
label="Label Name"
|
||||||
/>
|
/>
|
||||||
<FormTextField v-model="form.description" label="Label Description" />
|
<FormTextArea v-model="form.description" label="Label Description" />
|
||||||
<div class="modal-action">
|
<div class="modal-action">
|
||||||
<BaseButton type="submit" :loading="loading"> Create </BaseButton>
|
<BaseButton type="submit" :loading="loading"> Create </BaseButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
<template #title> Update Label </template>
|
<template #title> Update Label </template>
|
||||||
<form v-if="label" @submit.prevent="update">
|
<form v-if="label" @submit.prevent="update">
|
||||||
<FormTextField v-model="updateData.name" :autofocus="true" label="Label Name" />
|
<FormTextField v-model="updateData.name" :autofocus="true" label="Label Name" />
|
||||||
<FormTextField v-model="updateData.description" label="Label Description" />
|
<FormTextArea v-model="updateData.description" label="Label Description" />
|
||||||
<div class="modal-action">
|
<div class="modal-action">
|
||||||
<BaseButton type="submit" :loading="updating"> Update </BaseButton>
|
<BaseButton type="submit" :loading="updating"> Update </BaseButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue