[Zope3-checkins] SVN: Zope3/trunk/src/zope/formlib/form.txt A few
ReST improvements. More needed.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Jan 3 16:37:35 EST 2006
Log message for revision 41119:
A few ReST improvements. More needed.
Changed:
U Zope3/trunk/src/zope/formlib/form.txt
-=-
Modified: Zope3/trunk/src/zope/formlib/form.txt
===================================================================
--- Zope3/trunk/src/zope/formlib/form.txt 2006-01-03 21:36:34 UTC (rev 41118)
+++ Zope3/trunk/src/zope/formlib/form.txt 2006-01-03 21:37:34 UTC (rev 41119)
@@ -86,8 +86,8 @@
... ignore_request=ignore_request)
... return '\n'.join([w() for w in widgets])
-Here we used form.setUpWidgets to create widget instances from our
-form-field specifications. The second argument to `setUpWidgets` is a
+Here we used ``form.setUpWidgets`` to create widget instances from our
+form-field specifications. The second argument to ``setUpWidgets`` is a
form prefix. All of the widgets on this form are given the same
prefix. This allows multiple forms to be used within a single form
tag, assuming that each form uses a different form prefix.
@@ -994,7 +994,7 @@
Our `handle_edit_action` action is common to edit forms. An
`EditForm` base class captures this commonality. It also sets up
widget widgets a bit differently. The `EditForm` base class sets up
-widgets as if the form fields had been set up with the render_context`
+widgets as if the form fields had been set up with the `render_context`
option.
>>> class MyForm(form.EditForm):
More information about the Zope3-Checkins
mailing list