silverstripe-userforms/templates/UserFormsDropdownField.ss
2015-08-21 15:21:33 +12:00

6 lines
289 B
Scheme

<select $AttributesHTML <% if $RightTitle %>aria-describedby="{$Name}_right_title"<% end_if %>>
<% loop $Options %>
<option value="$Value.XML"<% if $Selected %> selected="selected"<% end_if %><% if $Disabled %> disabled="disabled"<% end_if %>>$Title.XML</option>
<% end_loop %>
</select>