share/templates/tt/xhtml/field_layout_field
raw| 1 | [% IF self.datalist_options %]<datalist id="[% self.attributes.item('list') %]">[% FOREACH option = self.datalist_options %] |
| 2 | <option value="[% option.value %]">[% option.label %]</option>[% END %] |
| 3 | </datalist> |
| 4 | [% END %]<input[% IF self.nested_name.defined %] name="[% self.nested_name %]"[% END %] type="[% self.field_type %]"[% IF self.value.defined %] value="[% self.value %]"[% END %][% process_attrs(self.attributes) %] /> |