From cf67ef183c606aa60298cd90df9402c74b93254b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 22 Jul 2011 14:59:07 +0200 Subject: [PATCH] Override form macros to have buttons on top --- themis/looks/configure.zcml | 10 ++++ themis/looks/form-macros.pt | 112 ++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 themis/looks/form-macros.pt diff --git a/themis/looks/configure.zcml b/themis/looks/configure.zcml index 71988d2..cb5a8c2 100644 --- a/themis/looks/configure.zcml +++ b/themis/looks/configure.zcml @@ -55,4 +55,14 @@ permission="zope2.View" /> + + diff --git a/themis/looks/form-macros.pt b/themis/looks/form-macros.pt new file mode 100644 index 0000000..d02cde8 --- /dev/null +++ b/themis/looks/form-macros.pt @@ -0,0 +1,112 @@ + + + + + + +
+ + +

+ Form title:

+
+ + +
Form description
+
+ + +
+
+ +
+ +
+ + + +
+ + + + + + + +
+ + + +
+ + + + (Required) + + +
field description
+ +
+ Error +
+ +
+ +
+
+
+
+ +
+
+ +
+
+ + + +
+ + + +
+
+
+ + + + +
+
+ + + +