Changeset 5813
- Timestamp:
- 08/06/07 00:16:35 (1 year ago)
- Files:
-
- django/trunk/docs/newforms.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/newforms.txt
r5808 r5813 642 642 like this:: 643 643 644 <form method="post" >644 <form method="post" action=""> 645 645 <table>{{ form }}</table> 646 646 <input type="submit" /> … … 654 654 The following is equivalent but a bit more explicit:: 655 655 656 <form method="post" >656 <form method="post" action=""> 657 657 <table>{{ form.as_table }}</table> 658 658 <input type="submit" /> … … 676 676 ``{% for field in form %}``. For example:: 677 677 678 <form method="post" >678 <form method="post" action=""> 679 679 <dl> 680 680 {% for field in form %} … … 697 697 For example:: 698 698 699 <form method="post" >699 <form method="post" action=""> 700 700 <ul class="myformclass"> 701 701 <li>{{ form.sender.label }} {{ form.sender }}</li>
