mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 21:46:10 +02:00
13 lines
416 B
Scheme
13 lines
416 B
Scheme
<ul id="$ID" class="$extraClass">
|
|
<% if $Options.Count %>
|
|
<% loop $Options %>
|
|
<li class="$Class">
|
|
<input id="$ID" class="checkbox" name="$Name" type="checkbox" value="$Value"<% if $isChecked %> checked="checked"<% end_if %><% if $isDisabled %> disabled="disabled"<% end_if %> />
|
|
<label for="$ID">$Title</label>
|
|
</li>
|
|
<% end_loop %>
|
|
<% else %>
|
|
<li>No options available</li>
|
|
<% end_if %>
|
|
</ul>
|