mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 22:28:37 +02:00
Merge pull request #4915 from torleif/patch-3
FIX OptionsetField input has required #4901
This commit is contained in:
commit
1a6655b2e2
@ -1,7 +1,7 @@
|
|||||||
<ul $AttributesHTML>
|
<ul $AttributesHTML>
|
||||||
<% loop $Options %>
|
<% loop $Options %>
|
||||||
<li class="$Class">
|
<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>
|
<label for="$ID">$Title</label>
|
||||||
</li>
|
</li>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
|
Loading…
Reference in New Issue
Block a user