Skip to content

Commit e7f957e

Browse files
committed
Make the url widget boxes as wide as the cgi page has them..
- Legacy-Id: 628
1 parent 04d302a commit e7f957e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/mailinglists/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def formchoice(form, field):
4242
}
4343

4444
nonwg_widgets = {
45-
'list_url': UrlMultiWidget(choices=(('http://', 'http://'), ('https://', 'https://'), ('mailto:', 'mailto:'))),
45+
'list_url': UrlMultiWidget(choices=(('http://', 'http://'), ('https://', 'https://'), ('mailto:', 'mailto:')), attrs = {'size': 50}),
4646
'admin': forms.Textarea(attrs = {'rows': 3, 'cols': 50}),
4747
'purpose': forms.Textarea(attrs = {'rows': 4, 'cols': 70}),
48-
'subscribe_url': UrlMultiWidget(choices=(('n/a', 'Not Applicable'), ('http://', 'http://'), ('https://', 'https://'))),
48+
'subscribe_url': UrlMultiWidget(choices=(('n/a', 'Not Applicable'), ('http://', 'http://'), ('https://', 'https://')), attrs = {'size': 50}),
4949
'subscribe_other': forms.Textarea(attrs = {'rows': 3, 'cols': 50}),
5050
}
5151

0 commit comments

Comments
 (0)