From 90721b0746731e1e2a84ceec32e6bf603c3ce6c3 Mon Sep 17 00:00:00 2001 From: Andreas Kotowicz Date: Mon, 28 Nov 2011 16:06:36 +0100 Subject: [PATCH] create_ticket form modifications: make 'title', 'submitter_email' and 'body' fields wider. --- helpdesk/forms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helpdesk/forms.py b/helpdesk/forms.py index 3e45d0c6..02e64151 100644 --- a/helpdesk/forms.py +++ b/helpdesk/forms.py @@ -114,19 +114,20 @@ class TicketForm(forms.Form): title = forms.CharField( max_length=100, required=True, - widget=forms.TextInput(), + widget=forms.TextInput(attrs={'size':'60'}), label=_('Summary of the problem'), ) submitter_email = forms.EmailField( required=False, label=_('Submitter E-Mail Address'), + widget=forms.TextInput(attrs={'size':'60'}), help_text=_('This e-mail address will receive copies of all public ' 'updates to this ticket.'), ) body = forms.CharField( - widget=forms.Textarea(), + widget=forms.Textarea(attrs={'cols': 47, 'rows': 15}), label=_('Description of Issue'), required=True, )