diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-17 14:22:10 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-17 14:22:10 +0100 |
commit | d10525a375884850b1b643796b839747cbc623b2 (patch) | |
tree | 917c17806b477b7ddb7c51ef2c519ff27fb57ac3 /view/tpl/field_combobox.tpl | |
parent | 4c2bdc9dc021418563040929fbd0363e08591f9f (diff) | |
download | volse-hubzilla-d10525a375884850b1b643796b839747cbc623b2.tar.gz volse-hubzilla-d10525a375884850b1b643796b839747cbc623b2.tar.bz2 volse-hubzilla-d10525a375884850b1b643796b839747cbc623b2.zip |
fix item_list and item_search templates. make item filer use a bootdtrap modal and some css and class fixes
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> |