mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-02-21 12:50:54 +01:00
create_ticket form modifications: make 'title', 'submitter_email' and 'body' fields wider.
This commit is contained in:
parent
b73d7df064
commit
90721b0746
@ -114,19 +114,20 @@ class TicketForm(forms.Form):
|
|||||||
title = forms.CharField(
|
title = forms.CharField(
|
||||||
max_length=100,
|
max_length=100,
|
||||||
required=True,
|
required=True,
|
||||||
widget=forms.TextInput(),
|
widget=forms.TextInput(attrs={'size':'60'}),
|
||||||
label=_('Summary of the problem'),
|
label=_('Summary of the problem'),
|
||||||
)
|
)
|
||||||
|
|
||||||
submitter_email = forms.EmailField(
|
submitter_email = forms.EmailField(
|
||||||
required=False,
|
required=False,
|
||||||
label=_('Submitter E-Mail Address'),
|
label=_('Submitter E-Mail Address'),
|
||||||
|
widget=forms.TextInput(attrs={'size':'60'}),
|
||||||
help_text=_('This e-mail address will receive copies of all public '
|
help_text=_('This e-mail address will receive copies of all public '
|
||||||
'updates to this ticket.'),
|
'updates to this ticket.'),
|
||||||
)
|
)
|
||||||
|
|
||||||
body = forms.CharField(
|
body = forms.CharField(
|
||||||
widget=forms.Textarea(),
|
widget=forms.Textarea(attrs={'cols': 47, 'rows': 15}),
|
||||||
label=_('Description of Issue'),
|
label=_('Description of Issue'),
|
||||||
required=True,
|
required=True,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user