Skip to content

Commit b319010

Browse files
Merge pull request #123 from 3Dgoo/patch-1
Fixing OptionsetField template
2 parents e55feca + 1de0030 commit b319010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/SilverStripe/Forms/OptionsetField.ss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ul $AttributesHTML>
22
<% loop $Options %>
33
<li class="$Class" role="$Role">
4-
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
4+
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> <% if $Up.Required %>required<% end_if %> />
55
<label for="$ID">$Title</label>
66
</li>
77
<% end_loop %>

0 commit comments

Comments
 (0)