Browse files

Fixed #16851 - Added how-to access form field value in template; than…

…ks yasar11732 for the patch.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
timgraham committed Nov 21, 2011
1 parent 16e3636 commit f2d02647fa8274c303a079191918e45d0b122472
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/topics/forms/index.txt
@@ -294,6 +294,9 @@ templates:
The field's label wrapped in the appropriate HTML ``<label>`` tag,
e.g. ``<label for="id_email">Email address</label>``
+``{{ field.value }}``
+ The value of the field. e.g ````
``{{ field.html_name }}``
The name of the field that will be used in the input element's name
field. This takes the form prefix into account, if it has been set.

0 comments on commit f2d0264

Please sign in to comment.