summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorDaniele Procida <daniele@vurt.org>2014-06-08 19:30:52 +0100
committerTim Graham <timograham@gmail.com>2014-06-24 14:55:22 -0400
commitcd20b5d1864e3c0f2d9ce8b9d186c201e5d89c00 (patch)
tree67993e3710f9d43e14cbe3312dc2f53fc45f97fa /docs/ref
parentdbbcfca476e29354c3a5c6221112b55741babc14 (diff)
Fixed #22796 -- Added a more basic explanations of forms.
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/forms/api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
index 10e85b4019..8909d5c916 100644
--- a/docs/ref/forms/api.txt
+++ b/docs/ref/forms/api.txt
@@ -376,6 +376,8 @@ You can write code to perform validation for particular form fields (based on
their name) or for the form as a whole (considering combinations of various
fields). More information about this is in :doc:`/ref/forms/validation`.
+.. _ref-forms-api-outputting-html:
+
Outputting forms as HTML
------------------------
@@ -492,6 +494,8 @@ it calls its ``as_table()`` method behind the scenes::
<tr><th><label for="id_sender">Sender:</label></th><td><input type="email" name="sender" id="id_sender" /></td></tr>
<tr><th><label for="id_cc_myself">Cc myself:</label></th><td><input type="checkbox" name="cc_myself" id="id_cc_myself" /></td></tr>
+.. _ref-forms-api-styling-form-rows:
+
Styling required or erroneous form rows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~