-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable adding classes to input and label directly
- Loading branch information
Phill Price
committed
Nov 15, 2014
1 parent
8ea7319
commit 562c6f1
Showing
2 changed files
with
66 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<div id="$Name" class="checkbox $HolderClasses" $HolderAttributes> | ||
<label> | ||
<input $AttributesHTML> | ||
<label class="$labelClasses"> | ||
$Title | ||
<input $AttributesHTML class="$inputClasses"> | ||
</label> | ||
<% if $HelpText %> | ||
<p class="help-block">$HelpText</p> | ||
<% end_if %> | ||
<% if $InlineHelpText %> | ||
<span class="help-inline">$InlineHelpText</span> | ||
<% end_if %> | ||
<% end_if %> | ||
</div> | ||
|