silverstripe-framework/templates/forms/DropdownField.ss

5 lines
152 B
Scheme

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