salix/modules/client/front/postcode/province/index.html

27 lines
913 B
HTML
Raw Permalink Normal View History

<vn-dialog class="edit"
vn-id="provinceDialog"
on-open="$ctrl.onOpen()"
on-accept="$ctrl.onAccept()"
message="New province">
<tpl-body>
<p translate>Please, ensure you put the correct data!</p>
<vn-horizontal>
<vn-textfield vn-one
vn-focus
ng-model="$ctrl.province.name"
label="Name">
</vn-textfield>
<vn-autocomplete vn-one
ng-model="$ctrl.province.autonomyFk"
url="Autonomies"
show-field="name"
value-field="id"
label="Autonomy">
</vn-autocomplete>
</vn-horizontal>
</tpl-body>
<tpl-buttons>
<input type="button" response="cancel" translate-attr="{value: 'Cancel'}"/>
2020-10-19 18:49:38 +00:00
<button id="saveProvince" response="accept" translate>Save</button>
</tpl-buttons>
</vn-dialog>