mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
c9b6e9bac0
API Update behaviour of form fields to use standard template lookup mechanism API Support custom "type" parameter to template lookup
11 lines
353 B
Scheme
11 lines
353 B
Scheme
<div $AttributesHTML <% include AriaAttributes %>>
|
|
<% loop $Options %>
|
|
<div class="radio $Class">
|
|
<label>
|
|
<input id="$ID" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> <% if $Up.Required %>required<% end_if %> />
|
|
$Title
|
|
</label>
|
|
</div>
|
|
<% end_loop %>
|
|
</div>
|