On Mon, May 11, 2009 at 12:04 PM, CrabbyPete <pete.do...@gmail.com> wrote: > > I just started using forms and I have the following html > <label>Zip Code:</label> <input name="id" type="text" class="supf" > size="15" maxlength="15"> > > How do you specify the class type for the input field.
See: http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.Widget.attrs -- dz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---