Doc update
Fixed a typo in input_control's docs.
This commit is contained in:
parent
085ca5c247
commit
50e1dffd48
|
@ -161,7 +161,7 @@
|
|||
</form>
|
||||
</div>
|
||||
<div class="col-sm-12 col-sm-first col-lg-8 col-md-normal">
|
||||
<p style="text-align: justify;">Forms are structured the same way you would structure a normal form in HTML5. Simply create a root <code><form></code> element and add your <code><input></code> elements inside. Link them to <code><label></code> elements for ease of acces and you are pretty much set. We highly recommend using the <code><fieldset></code> and <code><legend></code> elements to annotate your forms as well, but you can skip them if you wish.</p>
|
||||
<p style="text-align: justify;">Forms are structured the same way you would structure a normal form in HTML5. Simply create a root <code><form></code> element and add your <code><input></code> elements inside. Link them to <code><label></code> elements for ease of access and you are pretty much set. We highly recommend using the <code><fieldset></code> and <code><legend></code> elements to annotate your forms as well, but you can skip them if you wish.</p>
|
||||
<p style="text-align: justify;">Forms are inline by default. Use the <code>.input-group</code> class on a <code><div></code> wrapping inside it an <code><input></code> and <code><label></code> pair to make sure they always display together in one line. You can make your <code>.input-group</code>s respond to viewport changes, by adding the <code>.fluid</code> class to them. Finally, if you want to create aligned forms with a preset layout, you can utilize the <a href="grid.html"><strong>grid</strong></a> module's rows and columns.</p>
|
||||
<h3>Sample code</h3>
|
||||
<pre><form>
|
||||
|
|
|
@ -1185,3 +1185,4 @@
|
|||
- Added a note in `core` doc to tell people about fluid typography.
|
||||
- Fixed a typo in `tab`.
|
||||
- Fixed a typo in `table`.
|
||||
- Fixed a typo in `input_control`.
|
||||
|
|
Loading…
Reference in a new issue