diff --git a/src/mailmanweb/forms.py b/src/mailmanweb/forms.py index 91c653f..0a4a025 100644 --- a/src/mailmanweb/forms.py +++ b/src/mailmanweb/forms.py @@ -112,6 +112,9 @@ error_messages = {'required': _('Please enter a name for your list.'), 'invalid': _('Please enter a valid list name.')} ) + + mail_host = forms.ChoiceField() + list_owner = forms.EmailField( label = _('Inital list owner address'), error_messages = { @@ -140,8 +143,6 @@ label = _('Description'), required = True) - mail_host = forms.ChoiceField() - def __init__(self,domain_choices, *args, **kwargs): super(ListNew, self).__init__(*args, **kwargs) self.fields["mail_host"] = forms.ChoiceField( @@ -361,7 +362,7 @@ required = True, choices = ( (True, _("Advertise this list in List Index")), - (False, _("Hide this list in Liste Index")), + (False, _("Hide this list in List Index")), )) filter_content = forms.BooleanField( widget = forms.RadioSelect(choices = choices), @@ -565,7 +566,7 @@ #personalize = forms.CharField( #label = _('Personalize'), #) - pipeline = forms.CharField( + posting_pipeline = forms.CharField( label = _('Pipeline'), ) post_id = forms.IntegerField( diff --git a/src/mailmanweb/static/mailmanweb/default/css/style.css b/src/mailmanweb/static/mailmanweb/default/css/style.css index 8c3d150..801647d 100755 --- a/src/mailmanweb/static/mailmanweb/default/css/style.css +++ b/src/mailmanweb/static/mailmanweb/default/css/style.css @@ -88,3 +88,21 @@ legend { border: none; } + +/* auto-generated forms made a bit cleaner */ +.well label { + display: inline; +} +.well input { + display: inline; +} +.well li { + display: inline; + list-style: none; + padding-right: 1em; +} +.errorlist { + color: #A22630; +} + +