Skip to content

Commit 2239b49

Browse files
committed
Use MultiEmailField for the admin's email address, to get validation.
- Legacy-Id: 585
1 parent d3e4dc6 commit 2239b49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/mailinglists/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def formchoice(form, field):
3232
'ds_name': None,
3333
'ds_email': None,
3434
'msg_to_ad': None,
35+
'admin': MultiEmailField(label='List Administrator(s)', widget=forms.Textarea(attrs={'rows': 3, 'cols': 50})),
3536
}
3637

3738
nonwg_attrs = {
@@ -42,7 +43,6 @@ def formchoice(form, field):
4243

4344
nonwg_widgets = {
4445
'list_url': UrlMultiWidget(choices=(('http://', 'http://'), ('https://', 'https://'), ('mailto:', 'mailto:'))),
45-
'admin': forms.Textarea(attrs = {'rows': 3, 'cols': 50}),
4646
'purpose': forms.Textarea(attrs = {'rows': 4, 'cols': 70}),
4747
'subscribe_url': UrlMultiWidget(choices=(('n/a', 'Not Applicable'), ('http://', 'http://'), ('https://', 'https://'))),
4848
'subscribe_other': forms.Textarea(attrs = {'rows': 3, 'cols': 50}),

0 commit comments

Comments
 (0)