form_input_tr.volt: add copy link

This commit is contained in:
kulikov-a 2021-03-09 09:38:07 +03:00 committed by Ad Schellevis
parent fa4a4ec015
commit b4332bddd6

View File

@ -80,6 +80,7 @@
{% if separator|default(false) %}data-separator="{{separator}}"{% endif %}
></select>{% if style|default('selectpicker') != "tokenize" %}<br />{% endif %}
<a href="#" class="text-danger" id="clear-options_{{ id }}"><i class="fa fa-times-circle"></i> <small>{{ lang._('Clear All') }}</small></a>
{% if style|default('selectpicker') == "tokenize" %}&nbsp;&nbsp;<a href="#" class="text-danger" id="copy-options_{{ id }}"><i class="fa fa-clipboard"></i> <small>{{ lang._('Copy to clipboard') }}</small></a>{% endif %}
{% elseif type == "password" %}
<input type="password" class="form-control {{style|default('')}}" size="{{size|default("50")}}" id="{{ id }}" {{ readonly|default(false) ? 'readonly="readonly"' : '' }} >
{% elseif type == "textbox" %}