mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API Update behaviour of form fields to use standard template lookup mechanism API Support custom "type" parameter to template lookup
10 lines
279 B
Scheme
10 lines
279 B
Scheme
<select $AttributesHTML>
|
|
<% loop $Options %>
|
|
<option value="$Value.XML"
|
|
<% if $Selected %> selected="selected"<% end_if %>
|
|
<% if $Disabled %> disabled="disabled"<% end_if %>
|
|
><% if $Title.exists %>$Title.XML<% else %> <% end_if %>
|
|
</option>
|
|
<% end_loop %>
|
|
</select>
|