diff options
| author | Chris Rebert <[email protected]> | 2013-11-21 11:49:24 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-11-21 11:49:24 -0800 |
| commit | b34292ce82a622656dfec4d71cfde74e71abfdbf (patch) | |
| tree | 26d04a6f68a7d748c9d5a7e791c83c525d80fe0c /css.html | |
| parent | 7ab6c2743b14cb292c5e49965852c7b478f1db76 (diff) | |
| parent | bf62a6241ac6c3d0de4c76d6048b679a7473c20f (diff) | |
| download | bootstrap-b34292ce82a622656dfec4d71cfde74e71abfdbf.tar.xz bootstrap-b34292ce82a622656dfec4d71cfde74e71abfdbf.zip | |
Merge pull request #11567 from neilhem/master
add role form for horizontal form example
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1617,7 +1617,7 @@ For example, <code><section></code> should be wrapped as inline. <h2 id="forms-horizontal">Horizontal form</h2> <p>Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding <code>.form-horizontal</code> to the form. Doing so changes <code>.form-group</code>s to behave as grid rows, so no need for <code>.row</code>.</p> <div class="bs-example"> - <form class="form-horizontal"> + <form class="form-horizontal" role="form"> <div class="form-group"> <label for="inputEmail3" class="col-sm-2 control-label">Email</label> <div class="col-sm-10"> |
