Lines 122-128
Link Here
|
122 |
[% IF ( CHUNK.type_text ) %] |
122 |
[% IF ( CHUNK.type_text ) %] |
123 |
[% CHUNK.contents %] |
123 |
[% CHUNK.contents %] |
124 |
[% ELSIF ( CHUNK.type_input ) %] |
124 |
[% ELSIF ( CHUNK.type_input ) %] |
125 |
<input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %] |
125 |
<input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value| html %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %] |
126 |
[% ELSIF ( CHUNK.type_select ) %] |
126 |
[% ELSIF ( CHUNK.type_select ) %] |
127 |
<select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]"> |
127 |
<select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]"> |
128 |
[% FOREACH CHOICE IN CHUNK.CHOICES.sort('value') %] |
128 |
[% FOREACH CHOICE IN CHUNK.CHOICES.sort('value') %] |