From: Steve Sutton Date: Fri, 17 Apr 2015 12:45:39 +0000 (-0400) Subject: Update the template and stylesheet for the forms X-Git-Tag: v1.2.36^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e2c404ff69ecb20d5f61b7f6d70eb78e0c6c661d;p=web%2FKeweenaw.git Update the template and stylesheet for the forms Update the form template (from troutcreek) which has only one columns. Update the stylesheet so form has max width of 600px and is centered. --- diff --git a/Toolkit/Contacts/templates/contactForm.html b/Toolkit/Contacts/templates/contactForm.html index 34f1676..cf4c42f 100644 --- a/Toolkit/Contacts/templates/contactForm.html +++ b/Toolkit/Contacts/templates/contactForm.html @@ -1,4 +1,4 @@ - +
{form.javascript:h} {form.outputHeader():h} {form.hidden:h} @@ -16,14 +16,14 @@ {else:} {if:elem.isButton()} {if:elem.notFrozen()} -
{elem.html:h}
- +
{elem.html:h}
+ {end:} {else:} {if:elem.error} -
+
{else:} -
+
{end:} {if:elem.isType(#textarea#)} {if:elem.required}