diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-25 14:40:31 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-25 14:40:31 -0700 |
commit | e5e0a6b31f7870a46766c1e8ff87886fdb14b6de (patch) | |
tree | 7035d84f2edbc6b6efa435527ffdc3cd38b8027a /view/tpl/field_combobox.tpl | |
parent | 5c63f7dd58c5b3b88efcc47120c791f92527f720 (diff) | |
parent | 2115eb26a7fd2ca937286bd4e98ab74c7d6e9525 (diff) | |
download | volse-hubzilla-e5e0a6b31f7870a46766c1e8ff87886fdb14b6de.tar.gz volse-hubzilla-e5e0a6b31f7870a46766c1e8ff87886fdb14b6de.tar.bz2 volse-hubzilla-e5e0a6b31f7870a46766c1e8ff87886fdb14b6de.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/tpl/field_combobox.tpl')
-rwxr-xr-x | view/tpl/field_combobox.tpl | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/view/tpl/field_combobox.tpl b/view/tpl/field_combobox.tpl index 523595c0b..12d00a08d 100755 --- a/view/tpl/field_combobox.tpl +++ b/view/tpl/field_combobox.tpl @@ -1,17 +1,18 @@ - <div class='field combobox input form-group'> - <label class="mainlabel" for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label> - {{* - <input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" > - <datalist id="data_{{$field.0}}" > - {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}} - </datalist>*}} - - <input id="id_{{$field.0}}" class="form-control" type="text" value="{{$field.2}}"> - <select id="select_{{$field.0}}" class="form-control" onChange="$('#id_{{$field.0}}').val($(this).val())"> - <option value="">{{$field.5}}</option> - {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}} - </select> - - <span class='field_help'>{{$field.3}}</span> - </div> +<div class="form-group"> + <label class="" for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label> + <input class="form-control" id="id_{{$field.0}}" type="text" list="data_{{$field.0}}"{{if $field.5}} {{$field.5}}{{/if}}> + <datalist id="data_{{$field.0}}" > + {{foreach $field.4 as $opt=>$val}} + <option value="{{$val}}"> + {{/foreach}} + </datalist> + {{** + <input id="id_{{$field.0}}" class="form-control" type="text" value="{{$field.2}}"> + <select id="select_{{$field.0}}" class="form-control" onChange="$('#id_{{$field.0}}').val($(this).val())"> + <option value="">{{$field.5}}</option> + {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}} + </select> + **}} + <span class='field_help'>{{$field.3}}</span> +</div> |