Skip to content

Commit

Permalink
Bootstrap 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mi32dogs authored Nov 12, 2016
1 parent 4eddea6 commit 6025957
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions templates/BootstrapFieldHolder.ss
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<div id="$Name" class="$HolderClasses" $HolderAttributes>
<label for="$ID" class="$LabelClasses">$Title</label>
$Field
<label for="$ID" class="$LabelClasses<% if $BootstrapLayout=='horizontal' %> control-label $GridLabelClass<% end_if %>">$Title</label>
<% if $BootstrapLayout=='horizontal' %><div class="$GridInputClass"><% end_if %>
$Field
<% if $HelpText %>
<p class="help-block">$HelpText</p>
<% end_if %>
<% if $InlineHelpText %>
<span class="help-inline">$InlineHelpText</span>
<% end_if %>
<% end_if %>
<% if $BootstrapLayout=='horizontal' %></div><% end_if %>
</div>

0 comments on commit 6025957

Please sign in to comment.