silverstripe-tagfield/templates/TagField.ss
2015-04-14 13:15:28 +12:00

6 lines
277 B
Scheme

<input type="hidden" name="{$Name}[]" value="0" />
<select $AttributesHTML>
<% loop $Options %>
<option value="$Value.XML"<% if $Selected %> selected="selected"<% end_if %><% if $Disabled %> disabled="disabled"<% end_if %>>$Title.XML</option>
<% end_loop %>
</select>