From 9e6b345567d26610b1ee5d8e55933b5751ebfe2f Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 12 Jun 2014 12:40:08 -0400 Subject: [PATCH] form update setup the group of checkboxes so they are in a div class group so we can apply a separate style to those checkboxes and have them 50% width then the other checkbox styles can be normal --- Toolkit/Contacts/templates/contactForm.html | 2 ++ css/contactform.css | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Toolkit/Contacts/templates/contactForm.html b/Toolkit/Contacts/templates/contactForm.html index a9241a2..8b01b4e 100644 --- a/Toolkit/Contacts/templates/contactForm.html +++ b/Toolkit/Contacts/templates/contactForm.html @@ -55,11 +55,13 @@ {end:} {if:elem.isType(#group#)} +
{foreach:elem.elements,gitem} {gitem.label:h} {gitem.html:h}{if:gitem.required}
*
{end:} {if:elem.separator}{elem.separator:h}{end:} {end:} +
{else:} {elem.html:h} {if:elem.isName(#captcha_rmv#)} diff --git a/css/contactform.css b/css/contactform.css index 9dedb38..37615aa 100644 --- a/css/contactform.css +++ b/css/contactform.css @@ -98,8 +98,8 @@ table tr.req td.instructioncell { border-width: 0; color: #000; } -.glmCheckBox { - width: 200px; +.formGroup > .glmCheckBox { + width: 50%; float: left; } .single-checkbox label.glmCheckBox { -- 2.17.1