Fixed incorrect rendered widget in forms example.
This commit is contained in:
parent
40b69607c7
commit
38ddd4ab55
|
@ -514,7 +514,7 @@ Here's the output of ``{{ form.as_p }}`` for our ``ContactForm`` instance:
|
||||||
<p><label for="id_subject">Subject:</label>
|
<p><label for="id_subject">Subject:</label>
|
||||||
<input id="id_subject" type="text" name="subject" maxlength="100" /></p>
|
<input id="id_subject" type="text" name="subject" maxlength="100" /></p>
|
||||||
<p><label for="id_message">Message:</label>
|
<p><label for="id_message">Message:</label>
|
||||||
<input type="text" name="message" id="id_message" /></p>
|
<textarea name="message" id="id_message"></textarea></p>
|
||||||
<p><label for="id_sender">Sender:</label>
|
<p><label for="id_sender">Sender:</label>
|
||||||
<input type="email" name="sender" id="id_sender" /></p>
|
<input type="email" name="sender" id="id_sender" /></p>
|
||||||
<p><label for="id_cc_myself">Cc myself:</label>
|
<p><label for="id_cc_myself">Cc myself:</label>
|
||||||
|
|
Loading…
Reference in New Issue