silverstripe-framework/templates/forms/DropdownField.ss
Damian Mooyman 2c24d51c0b Revert #3358
2014-08-04 12:13:19 +12:00

6 lines
218 B
Scheme

<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>