]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: rename form checks page to "Checks / radios" (#31090)
authorPatrick H. Lauke <redux@splintered.co.uk>
Sat, 27 Jun 2020 18:31:59 +0000 (19:31 +0100)
committerGitHub <noreply@github.com>
Sat, 27 Jun 2020 18:31:59 +0000 (21:31 +0300)
* Docs: rename form checks page to "Checks / radios"

it's not immediately obvious that "checks" includes information about both checkboxes and radio buttons. while "checks / radios" is also still not perfect (as honestly even I didn't quite grok that "checks" meant checkboxes), it should make it slightly more obvious nonetheless

site/content/docs/5.0/forms/checks-radios.md [moved from site/content/docs/5.0/forms/checks.md with 99% similarity]
site/content/docs/5.0/forms/overview.md
site/content/docs/5.0/migration.md
site/data/sidebar.yml

similarity index 99%
rename from site/content/docs/5.0/forms/checks.md
rename to site/content/docs/5.0/forms/checks-radios.md
index a8b366625861fac7b0505fe3a00375823d9304cd..6d8bdf3860c13674337f7dc72a98dfe4e8cd2671 100644 (file)
@@ -1,8 +1,9 @@
 ---
 layout: docs
-title: Checks
+title: Checks and radios
 description: Create consistent cross-browser and cross-device checkboxes and radios with our completely rewritten checks component.
 group: forms
+aliases: "/docs/5.0/forms/checks/"
 toc: true
 ---
 
index 22ff29daf6ce6566d7bea28ad38ebf9d40cda117..1eb4cce5942bb1c6845a2ad50eea3e2d15d24c7d 100644 (file)
@@ -10,7 +10,7 @@ sections:
     description: Style textual inputs and textareas with support for multiple states.
   - title: Select
     description: Improve browser default select elements with a custom initial appearance.
-  - title: Checks
+  - title: Checks & radios
     description: Use our custom radio buttons and checkboxes in forms for selecting input options.
   - title: File
     description: Replace browser default file inputs with our custom version with optional JavaScript.
index a366abb933c58eed19f5fead70ba99dc5a848467..b334a80f4095f77b22b26c8f73215528b08e1e88 100644 (file)
@@ -150,7 +150,7 @@ Badges were overhauled to better differentiate themselves from buttons and to be
 
 ### Buttons
 
-- The checkbox/radio toggle is removed from the button plugin in favour of a CSS only solution, which is documented in the [form checks]({{< docsref "/forms/checks#toggle-buttons" >}}) docs. The `.btn-check` class can be added to inputs, any label with `.btn` and modifier class can be used to theme the labels. [See #30650](https://github.com/twbs/bootstrap/pull/30650).
+- The checkbox/radio toggle is removed from the button plugin in favour of a CSS only solution, which is documented in the [form checks and radios]({{< docsref "/forms/checks-radios#toggle-buttons" >}}) docs. The `.btn-check` class can be added to inputs, any label with `.btn` and modifier class can be used to theme the labels. [See #30650](https://github.com/twbs/bootstrap/pull/30650).
 
 ### Cards
 
index 4864085c0ff3e1f438cbfdd46b77abcd11323f8d..195cf3af3bf40441a0788b9924a2f1c1d7cfbc45 100644 (file)
@@ -44,7 +44,7 @@
     - title: Overview
     - title: Form control
     - title: Select
-    - title: Checks
+    - title: Checks & radios
     - title: File
     - title: Range
     - title: Input group