form update
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Jun 2014 17:03:52 +0000 (13:03 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Jun 2014 17:03:52 +0000 (13:03 -0400)
ditching previous idea. That is not working for
responsive. Applying foundation div classes.

Toolkit/Contacts/templates/contactForm.html
css/contactform.css

index 8b01b4e..a4ffdc9 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>
+
+                        <div class="row collapse">
+
+                            {foreach:elem.elements,gitem}
+                            <div class="small-12 medium-9 large-6 columns">
+                                {gitem.html:h}{if:gitem.required}<div class="req">*</div>{end:}
+                                {if:elem.separator}{elem.separator:h}{end:}
+                            </div>
+                            {end:}
+
+                        </div>
+
                     {else:}
                         {elem.html:h}
                         {if:elem.isName(#captcha_rmv#)}
index 37615aa..b5c62f2 100644 (file)
@@ -98,11 +98,4 @@ table tr.req td.instructioncell {
        border-width: 0;
        color: #000;
        }
-.formGroup > .glmCheckBox {
-       width: 50%;
-       float: left;
-}
-.single-checkbox label.glmCheckBox {
-    width: auto;
-    float: none;
-}
+