Skip to content

Commit 7b9722e

Browse files
committed
#738 - M1 frontend
1 parent 6a479b1 commit 7b9722e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/webapp/WEB-INF/templates/event/additional-field.ms

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div class="form-group {{#field-has-error}}[{{elementNamePrefix}}additional[{{name}}][{{fieldIndex}}]] has-error{{/field-has-error}}">
22
<label class="col-sm-3 control-label" for="{{name}}-title-{{uuid}}">{{labelDescription}}{{#isRequired}}*{{/isRequired}}</label>
33
<div class="col-sm-9">
4+
{{#editable}}
45
{{#inputField}}
56
<input type="{{inputType}}" name="{{elementNamePrefix}}additional[{{name}}][{{fieldIndex}}]" value="{{fieldValue}}" id="{{name}}-title-{{uuid}}{{^-first}}-{{fieldCounter}}{{/-first}}" class="form-control {{#isRequired}}field-required{{/isRequired}}"
67
{{#placeholderDescriptionDefined}}placeholder="{{placeholderDescription}}"{{/placeholderDescriptionDefined}}
@@ -39,5 +40,9 @@
3940
{{#translatedRestrictedValue}}<option value="{{left}}" {{^right}}disabled{{/right}}>{{middle}}</option>{{/translatedRestrictedValue}}
4041
</select>
4142
{{/selectField}}
43+
{{/editable}}
44+
{{^editable}}
45+
<div class="form-control-static">{{translatedValue}}</div>
46+
{{/editable}}
4247
</div>
4348
</div>

0 commit comments

Comments
 (0)