silverstripe-framework/admin/themes/cms-forms/templates/SilverStripe/Forms/OptionsetField.ss
Damian Mooyman 8dd644d25d
API Namespace all classes
Namespace all templates
Move difflib and BBCodeParser2 to thirdparty
Remove deprecated API marked for removal in 4.0
2016-09-08 10:23:17 +12:00

11 lines
372 B
Scheme

<div $AttributesHTML <% include SilverStripe/Forms/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>