silverstripe-userforms/templates/SilverStripe/UserForms/Model/EditableFormField/EditableDropdown.ss

6 lines
289 B
Scheme
Raw Permalink Normal View History

<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>