silverstripe-framework/templates/forms/DropdownField.ss

5 lines
152 B
Scheme
Raw Normal View History

<select $AttributesHTML>
<% control Options %>
<option value="$Value"<% if Selected %> selected<% end_if %>>$Title</option>
<% end_control %>
</select>