Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/styleguide/forms/inline.html

Issue 29491561: Issue 5413 - Create basic style guide for website-defaults (Closed)
Patch Set: Created July 18, 2017, 6:53 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: includes/styleguide/forms/inline.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/styleguide/forms/inline.html
@@ -0,0 +1,29 @@
+<h3 class="sg-h3">Inline fields</h3>
+
+<fieldset>
+ <legend>Radio input label</legend>
+ <label>
+ <input type="radio" name="radio-group-example" checked> Radio text
+ </label>
+ <label>
+ <input type="radio" name="radio-group-example"> Radio text
+ </label>
+ <label>
+ <input type="radio" name="radio-group-example"> Radio text
+ </label>
+</fieldset>
+
+<br>
+
+<fieldset>
+ <legend>Checkbox input label</legend>
+ <label>
+ <input type="checkbox" name="checkbox-group-example" value="1" checked> Checkbox text
+ </label>
+ <label>
+ <input type="checkbox" name="checkbox-group-example" value="2"> Checkbox text
+ </label>
+ <label>
+ <input type="checkbox" name="checkbox-group-example" value="3"> Checkbox text
+ </label>
+</fieldset>

Powered by Google App Engine
This is Rietveld