Re: resize modelform fields on template
Hi,
I have the same problem. Have you recieved any help?
Thanks.
Em segunda-feira, 3 de setembro de 2012 07h09min22s UTC-3, mapapage escreveu:
-- Em segunda-feira, 3 de setembro de 2012 07h09min22s UTC-3, mapapage escreveu:
Hi all!I'd like to know if there's a way to resize my modelform fields on the template. They're being rendered too big for the text input.I tried this :name = forms.CharField( widget=forms.TextInput(attrs={'size' :'40'}))but it didn't work.I also changed the width in css but unsuccessfully.Do you have any solution to suggest?Thx!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home