Hi Preston, 2011/6/23 Preston Timmons <prestontimm...@gmail.com>: > This looks excellent so far. > > Do {% formfield %} and {% formrow %} accept context like {% form %} > does? > > Is there a way with {% formfield %} or {% formrow %} to set custom > attributes like placeholder, autocorrect, etc.? I find this common > requirement when optimizing forms for mobile devices. > > Thanks, > > Preston
Yes that will be possible. We plan to have this somehow available in the widget configuration e.g. with the current proposal: {% formconfig widget for myform.myfield attr placeholder="Type here ..." %} -- Servus, Gregor Müllegger -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.