Merge pull request #4915 from torleif/patch-3

FIX OptionsetField input has required #4901
This commit is contained in:
Damian Mooyman 2016-01-12 13:54:41 +13:00
commit 1a6655b2e2

View File

@ -1,7 +1,7 @@
<ul $AttributesHTML>
<% loop $Options %>
<li class="$Class">
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
<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 %> />
<label for="$ID">$Title</label>
</li>
<% end_loop %>