Hi,
I'm making a form and would like to use CSS classes to give fields
different styles based on validation events, i.e. error or not. I'm
using the following code as of now.
{% for field in form %}
{% if field.errors %}
{{ field.l
to
> target the input element with CSS. (.error input { ... }).
>
> On Feb 24, 4:10 pm, Pugglewuggle wrote:
>
>
>
> > Hi,
>
> > I'm making a form and would like to use CSS classes to give fields
> > different styles based on validation events, i.e. e
2 matches
Mail list logo