From e2c404ff69ecb20d5f61b7f6d70eb78e0c6c661d Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 17 Apr 2015 08:45:39 -0400 Subject: [PATCH] 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. --- Toolkit/Contacts/templates/contactForm.html | 26 +++++++++++++-------- css/contactform.css | 4 ++++ 2 files changed, 20 insertions(+), 10 deletions(-) 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}