gt;
>{{ field.label_tag }} style="background-color:CC">{{ field }}
>{% if field.help_text %}{{ field.help_text }}{% endif
> %}
>{% if field.errors %}{{ field.errors
> }}{% endif %}
>
> {% endfor %}
> --
> View this message in context:
> ht
On Fri, Nov 12, 2010 at 12:50 PM, hemi19 wrote:
>
> Hi All,
>
> iam registration form in my website and iam able to get all the values i
> needed from DB using forms.My problem is how can i change color and size of
> textbox. The below is my code
>
> {% for field in form %}
>
> {{ field.label_
}}{% endif
%}
{% if field.errors %}{{ field.errors
}}{% endif %}
{% endfor %}
--
View this message in context:
http://old.nabble.com/how-to-set-color-for-field-in-forms-tp30199030p30199030.html
Sent from the django-users mailing list archive at Nabble.com.
--
You received this message
3 matches
Mail list logo