mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
12 lines
368 B
Scheme
12 lines
368 B
Scheme
<% if $Options %>
|
|
<optgroup label="$Title.ATT">
|
|
<% loop $Options %>
|
|
<% include GroupedDropdownFieldOption %>
|
|
<% end_loop %>
|
|
</optgroup>
|
|
<% else %>
|
|
<option value="$Value.ATT"
|
|
<% if $Selected %> selected="selected"<% end_if %>
|
|
<% if $Disabled %> disabled="disabled"<% end_if %>
|
|
><% if $Title %>$Title.XML<% else %> <% end_if %></option>
|
|
<% end_if %> |