]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge branch 'v4-dev' into form-tweaks
authorMark Otto <markdotto@gmail.com>
Thu, 1 Jun 2017 04:29:23 +0000 (21:29 -0700)
committerMark Otto <markdotto@gmail.com>
Thu, 1 Jun 2017 04:29:23 +0000 (21:29 -0700)
1  2 
docs/4.0/components/forms.md
scss/_variables.scss

index 32b937172d48bddc7f9ed6be64ad2103463fba02,87f47a7bafc1e098cf70d444213f7492e3e1c67c..8fe2a9d263a3ef337e6d542b2ff99e55e77fbc91
@@@ -1,24 -1,16 +1,18 @@@
  ---
  layout: docs
  title: Forms
- description: Examples and usage guidelines for form controls, form layouts, and custom forms.
+ description: Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.
  group: components
+ toc: true
  ---
  
- Bootstrap provides several form control styles, layout options, and custom components for creating a wide variety of forms.
- ## Contents
- * Will be replaced with the ToC, excluding the "Contents" header
- {:toc}
  ## Form controls
  
- Bootstrap's form controls expand on [our Rebooted form styles]({{ site.baseurl }}/content/reboot/#forms) with classes. Use these classes to opt into their customized displays for a more consistent rendering across browsers and devices. The example form below demonstrates common HTML form elements that receive updated styles from Bootstrap with additional classes.
+ Bootstrap's form controls expand on [our Rebooted form styles]({{ site.baseurl }}/docs/{{ site.docs_version }}/content/reboot/#forms) with classes. Use these classes to opt into their customized displays for a more consistent rendering across browsers and devices. The example form below demonstrates common HTML form elements that receive updated styles from Bootstrap with additional classes.
  
 -Remember, since Bootstrap utilizes the HTML5 doctype, **all inputs must have a `type` attribute**.
 +Be sure to use an appropriate `type` attribute on all inputs (e.g., `email` for email address or `number` for numerical information).
 +
 +### Example
  
  {% example html %}
  <form>
Simple merge