Closes #9.
This commit is contained in:
parent
54bde5ad21
commit
f78deb6104
|
@ -81,6 +81,29 @@
|
||||||
</b-field>
|
</b-field>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
<!-- Status -------------------------------- -->
|
||||||
|
<b-field
|
||||||
|
:addons="false"
|
||||||
|
:label="$i18n.get('label_status')"
|
||||||
|
:type="editFormErrors['status'] != undefined ? 'is-danger' : ''"
|
||||||
|
:message="editFormErrors['status'] != undefined ? editFormErrors['status'] : ''">
|
||||||
|
<help-button
|
||||||
|
:title="$i18n.getHelperTitle('collections', 'status')"
|
||||||
|
:message="$i18n.getHelperMessage('collections', 'status')"/>
|
||||||
|
<b-select
|
||||||
|
id="tainacan-select-status"
|
||||||
|
v-model="form.status"
|
||||||
|
@focus="clearErrors('status')"
|
||||||
|
:placeholder="$i18n.get('instruction_select_a_status')">
|
||||||
|
<option
|
||||||
|
v-for="statusOption in statusOptions"
|
||||||
|
:key="statusOption.value"
|
||||||
|
:value="statusOption.value"
|
||||||
|
:disabled="statusOption.disabled">{{ statusOption.label }}
|
||||||
|
</option>
|
||||||
|
</b-select>
|
||||||
|
</b-field>
|
||||||
|
|
||||||
<!-- Name -------------------------------- -->
|
<!-- Name -------------------------------- -->
|
||||||
<b-field
|
<b-field
|
||||||
:addons="false"
|
:addons="false"
|
||||||
|
@ -112,29 +135,6 @@
|
||||||
@focus="clearErrors('description')"/>
|
@focus="clearErrors('description')"/>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<!-- Status -------------------------------- -->
|
|
||||||
<b-field
|
|
||||||
:addons="false"
|
|
||||||
:label="$i18n.get('label_status')"
|
|
||||||
:type="editFormErrors['status'] != undefined ? 'is-danger' : ''"
|
|
||||||
:message="editFormErrors['status'] != undefined ? editFormErrors['status'] : ''">
|
|
||||||
<help-button
|
|
||||||
:title="$i18n.getHelperTitle('collections', 'status')"
|
|
||||||
:message="$i18n.getHelperMessage('collections', 'status')"/>
|
|
||||||
<b-select
|
|
||||||
id="tainacan-select-status"
|
|
||||||
v-model="form.status"
|
|
||||||
@focus="clearErrors('status')"
|
|
||||||
:placeholder="$i18n.get('instruction_select_a_status')">
|
|
||||||
<option
|
|
||||||
v-for="statusOption in statusOptions"
|
|
||||||
:key="statusOption.value"
|
|
||||||
:value="statusOption.value"
|
|
||||||
:disabled="statusOption.disabled">{{ statusOption.label }}
|
|
||||||
</option>
|
|
||||||
</b-select>
|
|
||||||
</b-field>
|
|
||||||
|
|
||||||
<!-- Enable Cover Page -------------------------------- -->
|
<!-- Enable Cover Page -------------------------------- -->
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<b-checkbox
|
<b-checkbox
|
||||||
|
|
Loading…
Reference in New Issue