diff --git a/app/views/guide_form_elements.html b/app/views/guide_form_elements.html index 9ad9c8652..4b55a060b 100755 --- a/app/views/guide_form_elements.html +++ b/app/views/guide_form_elements.html @@ -277,15 +277,29 @@

{% include "snippets/form_inset_radios.html" %} -
+
+  
+    {% include "snippets/encoded/form_inset_radios.html" %}
+  
+  
+ +

+ In the code snippet above, the data-target="" attribute is present on every label, as each option reveals an extra field. +

+ +

A grey left hand border is used to visually connect the revealed content with the question above.

+
+ {% include "snippets/form_inset_panel.html" %} +
+
 
-  
+ {% include "snippets/encoded/form_inset_panel.html" %}
@@ -295,16 +309,6 @@

-
-
-  {% include "snippets/encoded/form_inset_radios.html" %}
-
-
- -

- In the code snippet above, the data-target="" attribute is present on every label, as each option reveals an extra field. -

-

Checkboxes

diff --git a/app/views/snippets/form_inset_panel.html b/app/views/snippets/form_inset_panel.html new file mode 100644 index 000000000..73ed78448 --- /dev/null +++ b/app/views/snippets/form_inset_panel.html @@ -0,0 +1,6 @@ +
+
+ + +
+