Commit e6af8121 authored by Manuel Faux's avatar Manuel Faux

MVC: added password field type

parent 95ed1a45
...@@ -61,6 +61,8 @@ allownew : allow new items (for list) if applicable ...@@ -61,6 +61,8 @@ allownew : allow new items (for list) if applicable
<br/><a href="#" class="text-danger" id="clear-options" for="{{id}}"><i class="fa fa-times-circle"></i></a> <small>{{ lang._('Clear All') }}</small> <br/><a href="#" class="text-danger" id="clear-options" for="{{id}}"><i class="fa fa-times-circle"></i></a> <small>{{ lang._('Clear All') }}</small>
{% elseif type == "dropdown" %} {% elseif type == "dropdown" %}
<select {% if size|default(false) %}size="{{size}}"{% endif %} id="{{ id }}" class="{{style|default('selectpicker')}}" data-width="{{width|default("348px")}}"></select> <select {% if size|default(false) %}size="{{size}}"{% endif %} id="{{ id }}" class="{{style|default('selectpicker')}}" data-width="{{width|default("348px")}}"></select>
{% elseif type == "password" %}
<input type="password" class="form-control" size="{{size|default("50")}}" id="{{ id }}" >
{% elseif type == "info" %} {% elseif type == "info" %}
<span id="{{ id }}" ></span> <span id="{{ id }}" ></span>
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment