-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #445 from parkeryoung/444-render-help-text-in-form…
…-group Issue #444 - Help text rendered in wrong place.
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 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
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 |
---|---|---|
|
@@ -189,8 +189,8 @@ class BootstrapFormGroupTest < ActionView::TestCase | |
<label class="col-form-label col-sm-2 required" for="user_email">Email</label> | ||
<div class="col-sm-10"> | ||
<input class="form-control" id="user_email" name="user[email]" type="text" value="[email protected]" /> | ||
<small class="form-text text-muted">This is required</small> | ||
</div> | ||
<small class="form-text text-muted">This is required</small> | ||
</div> | ||
HTML | ||
assert_equivalent_xml expected, @horizontal_builder.text_field(:email, help: "This is required") | ||
|