silverstripe-framework/templates/forms/DropdownField.ss

6 lines
207 B
Scheme
Raw Normal View History

<select $AttributesHTML>
<% loop Options %>
<option value="$Value"<% if Selected %> selected="selected"<% end_if %><% if Disabled %> disabled="disabled"<% end_if %>>$Title</option>
<% end_loop %>
</select>