summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48d93e6)
raw | patch | inline | side by side (parent: 48d93e6)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 3 Oct 2003 19:15:24 +0000 (19:15 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 3 Oct 2003 19:15:24 +0000 (19:15 +0000) |
to have them at the top of a form.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1896 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1896 57a73879-2fb5-44c3-a270-3262357dd7e2
diff --git a/doc/customizing.txt b/doc/customizing.txt
index 951a881bcaf48dc3ab39f87db91a9aba24c64bb0..f752e543395c2d9839d04c7f358525bddf53ea43 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
Customising Roundup
===================
-:Version: $Revision: 1.101 $
+:Version: $Revision: 1.102 $
.. This document borrows from the ZopeBook section on ZPT. The original is at:
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
<form method="POST" onSubmit="return submit_once()"
enctype="multipart/form-data">
- <input type="hidden" name="@required" value="name">
-
<table class="form">
<tr><th class="header" colspan="2">Category</th></tr>
</tr>
<tr>
- <td> </td>
+ <td>
+
+ <input type="hidden" name="@required" value="name">
+ </td>
<td colspan="3" tal:content="structure context/submit">
submit button will go here
</td>
index ca9f6bd529d07351d2af287811086ca092c470e5..dd102b24dbf8e26704b5b8166b303bce0b617dfc 100644 (file)
<form method="POST" onSubmit="return submit_once()"
enctype="multipart/form-data" tal:condition="context/is_edit_ok">
-<input type="hidden" name=":template" value="item">
-<input type="hidden" name=":required" value="name,type">
-
-<input type="hidden" name=":multilink"
- tal:condition="python:request.form.has_key(':multilink')"
- tal:attributes="value request/form/:multilink/value">
-
<table class="form">
<tr>
<th>Name</th>
</tr>
<tr>
- <td> </td>
+ <td>
+
+ <input type="hidden" name=":template" value="item">
+ <input type="hidden" name=":required" value="name,type">
+ <input type="hidden" name=":multilink"
+ tal:condition="python:request.form.has_key(':multilink')"
+ tal:attributes="value request/form/:multilink/value">
+ </td>
<td tal:content="structure context/submit">submit button here</td>
</tr>
</table>
index 6e3b8f29fe05dfbc6ad998b8fec240ae5a3906c8..1ac2325d30f0ca6055edd987a280e52a6152c842 100644 (file)
enctype="multipart/form-data" tal:condition="context/is_edit_ok"
tal:attributes="action context/designator">
-<input type="hidden" name=":template" value="item">
-<input type="hidden" name=":required" value="title,priority">
-
<table class="form">
<tr>
<th class="required">Title</th>
</tr>
<tr>
- <td> </td>
+ <td>
+
+ <input type="hidden" name=":template" value="item">
+ <input type="hidden" name=":required" value="title,priority">
+ </td>
<td colspan=3 tal:content="structure context/submit">
submit button will go here
</td>
index 8a41340885e7d6766470f5010cd328862c98ce9a..a46334f8e84e2844666d66b06395eb65eeb2badd 100644 (file)
<td class="content" metal:fill-slot="content">
<form method="GET" tal:attributes="action request/classname">
-<input type="hidden" name=":action" value="search">
<table class="form" tal:define="
cols python:request.columns or 'id activity title status assignedto'.split();
</tr>
<tr>
- <td> </td>
+ <td>
+
+ <input type="hidden" name=":action" value="search">
+ </td>
<td><input type="submit" value="Search"></td>
</tr>
index 47f9223575db6c6adb6af38036da81c0462856ce..6bb00428a3093113dec1ae3ded195408584ccd34 100644 (file)
<form method="POST" onSubmit="return submit_once()"
enctype="multipart/form-data">
- <input type="hidden" name=":required" value="name">
- <input type="hidden" name=":template" value="item">
-
<table class="form">
<tr>
<th>Keyword</th>
</tr>
<tr>
- <td> </td>
+ <td>
+
+ <input type="hidden" name=":required" value="name">
+ <input type="hidden" name=":template" value="item">
+ </td>
<td colspan=3 tal:content="structure context/submit">
submit button will go here
</td>
diff --git a/templates/classic/html/user.forgotten.html b/templates/classic/html/user.forgotten.html
index 1df69181414a7022745b2d25b443f6c9d1b557c2..d527c461bf900aadc74db3611cb320dc70f58a92 100644 (file)
know the email address you registered with, enter it below.</p>
<form method="POST" onSubmit="return submit_once()">
-<input type="hidden" name="@action" value="passrst">
-<input type="hidden" name="@template" value="forgotten">
-<table class="form">
- <tr><th>Email Address:</th> <td><input name="address"></td> </tr>
- <tr><td></td><td><input type="submit" value="Request password reset"></td></tr>
+ <table class="form">
+ <tr>
+ <th>Email Address:</th>
+ <td><input name="address"></td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td>
+ <input type="hidden" name="@action" value="passrst">
+ <input type="hidden" name="@template" value="forgotten">
+ <input type="submit" value="Request password reset">
+ </td>
+ </tr>
</table>
<p>Or, if you know your username, then enter it below.</p>
index 52c2219defba6983b9c631e8ce03033c4d967133..c3cdc78f3e18ae652a5829f6dce02fdfaf95fce6 100644 (file)
<form method="POST" onSubmit="return submit_once()"
enctype="multipart/form-data" tal:condition="context/is_edit_ok">
-<input type="hidden" name=":template" value="item">
-<input type="hidden" name=":required" value="username,address">
-
<table class="form">
<tr>
<th>Name</th>
</tr>
<tr>
- <td> </td>
+ <td>
+
+ <input type="hidden" name=":template" value="item">
+ <input type="hidden" name=":required" value="username,address">
+ </td>
<td tal:content="structure context/submit">submit button here</td>
</tr>
</table>
index a226413393cd3aee693dd380e8c0133d29d3dbcf..f43ca26a02a7bd92c59df4005828000450ffa797 100644 (file)
<tal:block tal:condition="editok">
<form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data">
-<input type="hidden" name=":template" value="register">
-<input type="hidden" name=":required" value="username">
-<input type="hidden" name=":required" value="password">
-<input type="hidden" name=":required" value="address">
<table class="form">
<tr>
<tr>
<td> </td>
<td>
+ <input type="hidden" name=":template" value="register">
+ <input type="hidden" name=":required" value="username,password,address">
<input type="hidden" name=":action" value="register">
<input type="submit" name="submit" value="Register">
</td>