+ The checkbox
class is a simple wrapper around the <input type="checkbox">
HTML element. It is intentionally not styled, to preserve cross-browser compatibility and the user experience.
+
diff --git a/docs/_includes/subnav-elements.html b/docs/_includes/subnav-elements.html index 42529520..21729ef2 100644 --- a/docs/_includes/subnav-elements.html +++ b/docs/_includes/subnav-elements.html @@ -13,9 +13,6 @@ Delete - - Form - Icon diff --git a/docs/_includes/subnav-form.html b/docs/_includes/subnav-form.html index 46ef68ee..76e05033 100644 --- a/docs/_includes/subnav-form.html +++ b/docs/_includes/subnav-form.html @@ -19,9 +19,6 @@ Radio - - Other - diff --git a/docs/documentation/elements/form.html b/docs/documentation/elements/form.html index ca5f36ee..616a5bf1 100644 --- a/docs/documentation/elements/form.html +++ b/docs/documentation/elements/form.html @@ -4,6 +4,8 @@ doc-tab: elements doc-subtab: form --- + + {% capture form_example %}
+ The checkbox
class is a simple wrapper around the <input type="checkbox">
HTML element. It is intentionally not styled, to preserve cross-browser compatibility and the user experience.
+
+ You can add links to your checkbox, or even disable it. +
+
+ The radio
class is a simple wrapper around the <input type="radio">
HTML elements. It is intentionally not styled, to preserve cross-browser compatibility and the user experience.
+
+ Make sure the linked radio buttons have the same value for their name
HTML attribute.
+
+ You can check a radio button by default by adding the checked
HTML attribute to the <input>
element.
+
+ You can add disable a radio button by adding the disabled
HTML attribute to both the <label>
and the <input>
.
+