Here is my product class:
class ProductForm(ModelForm):
long_desc = forms.CharField(widget=forms.Textarea)
short_desc = forms.CharField(widget=forms.Textarea)
class Meta:
model = Product
And the template code...
{% for f in form %}
{{ f.name }}:{{ f }}
{% endfor %}
f is the actual form element.
How can I change the width of a textarea form element if I used ModelForm to create it?