mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
select, hide "Clear all" when not tokenizer
This commit is contained in:
parent
a0e3630364
commit
2d43e962c7
@ -59,7 +59,9 @@
|
||||
<input type="checkbox" id="{{ id }}">
|
||||
{% elseif type == "select_multiple" %}
|
||||
<select multiple="multiple" {% if size|default(false) %}size="{{size}}"{% endif %} id="{{ id }}" class="{{style|default('selectpicker')}}" {% if hint|default(false) %}data-hint="{{hint}}"{% endif %} {% if maxheight|default(false) %}data-maxheight="{{maxheight}}"{% endif %} data-width="{{width|default("334px")}}" data-allownew="{{allownew|default("false")}}" data-nbdropdownelements="{{nbDropdownElements|default("10")}}" data-live-search="true"></select>
|
||||
<br/><a href="#" class="text-danger" id="clear-options_{{ id }}"><i class="fa fa-times-circle"></i></a> <small>{{ lang._('Clear All') }}</small>
|
||||
{% if style|default('') == 'tokenize' %}
|
||||
<br/><a href="#" class="text-danger" id="clear-options_{{ id }}"><i class="fa fa-times-circle"></i></a> <small>{{ lang._('Clear All') }}</small>
|
||||
{% endif %}
|
||||
{% elseif type == "dropdown" %}
|
||||
<select {% if size|default(false) %}size="{{size}}"{% endif %} id="{{ id }}" class="{{style|default('selectpicker')}}" data-width="{{width|default("334px")}}"></select>
|
||||
{% elseif type == "password" %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user