silverstripe-userforms/templates/forms/UserFormsDropdownField.ss
2016-04-20 14:45:00 +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>