You would use CSS for styling.

li { border:1px solid #FF0000; }

You might want to create a class for error styling though!




On Aug 12, 4:44 pm, reduxdj <[email protected]> wrote:
> Hi,
>
> I can't seem to get my form errors to work with customs forms in
> django, following the examples I have done this:
>
>         <div id='price-div' class='field-item-small'>
>                                         <label for='id_price'>Price</label>
>                                          {% if form.price.errors %}
>                                                 <ol>
>                                                 {% for error in 
> form.price.errors %}
>                                                     <li>{{ error|escape 
> }}</li>
>                                                 {% endfor %}
>                                                 </ol>
>                                             {% endif %}
>                                          {{ form.price }}
>                                 </div>
>
> however, i'm looking for nice red borders around my form errors.
>
> Thanks For the thelp:
>
> Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to