mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
0c4ec4708b
Replaces duplicate $ID usage. See https://github.com/silverstripe/silverstripe-framework/pull/1873
13 lines
418 B
Scheme
13 lines
418 B
Scheme
<ul id="$HolderID" 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>
|