Skip to content

Commit

Permalink
create_ticket form modifications: make 'title', 'submitter_email' and…
Browse files Browse the repository at this point in the history
… 'body' fields wider.
  • Loading branch information
kotowicz committed Nov 28, 2011
1 parent b73d7df commit 90721b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions helpdesk/forms.py
Expand Up @@ -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,
)
Expand Down

0 comments on commit 90721b0

Please sign in to comment.