form update
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Jun 2014 16:40:08 +0000 (12:40 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Jun 2014 16:40:08 +0000 (12:40 -0400)
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
css/contactform.css

index a9241a2..8b01b4e 100644 (file)
                     {end:}
 
                     {if:elem.isType(#group#)}
+                    <div class="formGroup">
                         {foreach:elem.elements,gitem}
                             {gitem.label:h}
                             {gitem.html:h}{if:gitem.required}<div class="req">*</div>{end:}
                             {if:elem.separator}{elem.separator:h}{end:}
                         {end:}
+                    </div>
                     {else:}
                         {elem.html:h}
                         {if:elem.isName(#captcha_rmv#)}
index 9dedb38..37615aa 100644 (file)
@@ -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 {