add a root dom element to directive

pull/3701/head
Jens Ulferts 9 years ago
parent f0e71ec46c
commit a8388ca5d0
  1. 28
      frontend/app/templates/inplace-edit/edit/fields/integer.html

@ -1,13 +1,15 @@
<label
class="hidden-for-sighted"
for="inplace-edit--write-value--{{::field.name}}">
{{::field.getLabel()}}
</label>
<input class="focus-input inplace-edit--text-field"
id="inplace-edit--write-value--{{::field.name}}"
name="value"
type="number"
ng-disabled="fieldController.state.isBusy"
ng-required="fieldController.isRequired"
title="{{ fieldController.editTitle }}"
ng-model="field.value" />
<div class="integer-wrapper">
<label
class="hidden-for-sighted"
for="inplace-edit--write-value--{{::field.name}}">
{{::field.getLabel()}}
</label>
<input class="focus-input inplace-edit--text-field"
id="inplace-edit--write-value--{{::field.name}}"
name="value"
type="number"
ng-disabled="fieldController.state.isBusy"
ng-required="fieldController.isRequired"
title="{{ fieldController.editTitle }}"
ng-model="field.value" />
</div>

Loading…
Cancel
Save