Skip to content

Commit

Permalink
fix up templates for latest ss and display logic versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sheadawson committed Jul 11, 2016
1 parent 9536eaf commit 9c5ac73
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions templates/CheckboxSetField.ss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<ul id="$ID" $AttributesHTML class="$extraClass" <% if $DisplayLogic || $DisplayLogicMasters %>name="$Name" data-display-logic-masters="$DisplayLogicMasters" data-display-logic-eval="$DisplayLogic"<% end_if %>>
<% if $Options.Count %>
<% loop $Options %>
<li class="$Class">
<input id="$ID" class="checkbox" name="$Name" type="checkbox" value="$Value"<% if $isChecked %> checked="checked"<% end_if %><% if $isDisabled %> disabled="disabled"<% end_if %> />
<label for="$ID">$Title</label>
</li>
<% end_loop %>
<% else %>
<li>No options available</li>
<% end_if %>
</ul>
2 changes: 1 addition & 1 deletion templates/OptionsetField_holder.ss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="$Name" class="field<% if $extraClass %> $extraClass<% end_if %>" $AttributesHTML>
<div id="$HolderID" class="field<% if $extraClass %> $extraClass<% end_if %>" $AttributesHTML>
<% if $Title %><label class="left">$Title</label><% end_if %>
<div class="middleColumn">
$Field
Expand Down

0 comments on commit 9c5ac73

Please sign in to comment.