Merge pull request #3359 from halkyon/escape_missing_att

Fixed usage of .XML with .ATT for attributes in CheckboxSetField
This commit is contained in:
Damian Mooyman 2014-08-04 10:31:25 +12:00
commit 5503c1d7d9

View File

@ -2,7 +2,7 @@
<% if $Options.Count %>
<% loop $Options %>
<li class="$Class">
<input id="$ID" class="checkbox" name="$Name.XML" type="checkbox" value="$Value.ATT"<% if $isChecked %> checked="checked"<% end_if %><% if $isDisabled %> disabled="disabled"<% end_if %> />
<input id="$ID" class="checkbox" name="$Name.ATT" type="checkbox" value="$Value.ATT"<% if $isChecked %> checked="checked"<% end_if %><% if $isDisabled %> disabled="disabled"<% end_if %> />
<label for="$ID">$Title.XML</label>
</li>
<% end_loop %>