aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_input.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/field_input.tpl')
-rwxr-xr-xview/tpl/field_input.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/field_input.tpl b/view/tpl/field_input.tpl
new file mode 100755
index 000000000..65a837e5f
--- /dev/null
+++ b/view/tpl/field_input.tpl
@@ -0,0 +1,5 @@
+ <div id="id_{{$field.0}}_wrapper" class="form-group">
+ <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label>
+ <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="text" value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}>
+ <small id="help_{{$field.0}}" class="form-text text-muted">{{$field.3}}</small>
+ </div>