#23690: Docs for Rendering fields manually <label for="...."> showing static 
rather
than dynamic code
--------------------------------------+--------------------
     Reporter:  awidgery              |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Documentation         |    Version:  1.7
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 See here:

 https://docs.djangoproject.com/en/1.7/topics/forms/#rendering-fields-
 manually


 {{{
 <div class="fieldWrapper">
     {{ form.subject.errors }}
     <label for="id_subject">Email subject:</label>
     {{ form.subject }}
 </div>
 }}}


 Wouldn't it be better to show:



 {{{
 <div class="fieldWrapper">
     {{ form.subject.errors }}
     <label for="{{ form.subject.auto_id">Email subject:</label>
     {{ form.subject }}
 </div>
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23690>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.6c752d439a26b9409331991c3eb3c22f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to