[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - add.pt:1.2.10.1
Guido van Rossum
guido@python.org
Tue, 18 Mar 2003 15:10:56 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv14711
Modified Files:
Tag: local-utility-branch
add.pt
Log Message:
Change add template to be a page rather than a dialog; this looks
better to me. Also add some markup to the refresh and submit button
to separate them from the rest of the form.
=== Zope3/src/zope/app/browser/form/add.pt 1.2 => 1.2.10.1 ===
--- Zope3/src/zope/app/browser/form/add.pt:1.2 Thu Jan 16 14:50:28 2003
+++ Zope3/src/zope/app/browser/form/add.pt Tue Mar 18 15:10:56 2003
@@ -1,4 +1,4 @@
-<html metal:use-macro="views/standard_macros/dialog">
+<html metal:use-macro="views/standard_macros/page">
<body>
<div metal:fill-slot="body">
@@ -50,8 +50,13 @@
</div>
- <input type="submit" value="Refresh" />
- <input type="submit" name="UPDATE_SUBMIT" value="Save Changes" />
+ <div class="row">
+ <div class="label"> </div>
+ <div class="field">
+ <input type="submit" value="Refresh" />
+ <input type="submit" name="UPDATE_SUBMIT" value="Submit" />
+ </div>
+ </div>
</form>