>    {{ form.message.errors }}
>    <p>Message: {{ form.message }}</p>

A very common use case is to format/highlight the error message or
input area upon error. I can already see myself extending the Form
class to include something of the sorts

{{ form.message.errors }}
<p class="{{form.css}}">Message: {{ form.message }}</p>

where the css would be selected based on the state or valid/invalid.

i.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to