mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 13:06:04 +02:00
13 lines
469 B
Scheme
13 lines
469 B
Scheme
<ul id="$ID" class="$extraClass"<% if Description %> title="$Description"<% end_if %>>
|
|
<% if Options.Count %>
|
|
<% control 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_control %>
|
|
<% else %>
|
|
<li>No options available</li>
|
|
<% end_if %>
|
|
</ul>
|