diff --git a/forms.py b/forms.py index af84da8..ce60eb4 100644 --- a/forms.py +++ b/forms.py @@ -597,6 +597,25 @@ "subscribe_policy", "topics", "topics_bodylines_limit", "topics_enabled", "unsubscribe_policy"]] +class Login(FieldsetForm): + """Form to let the user log in. + """ + address = forms.EmailField( + label = _('Email address'), + error_messages = {'required': _('Please enter an email address.'), + 'invalid': _('Please enter a valid email address.')}, + required = True, + ) + password = forms.CharField( + label = _('Password'), + error_messages = {'required': _('Please enter your password.'), + 'invalid': _('Please enter a valid password.')}, + required = True, + ) + + class Meta: + layout = [["Login", "address", "password"],] + class ListMassSubscription(FieldsetForm): """Form fields to masssubscribe users to a list. """ diff --git a/templates/mailman-django/lists/created.html b/templates/mailman-django/lists/created.html index d48d171..8ed533b 100644 --- a/templates/mailman-django/lists/created.html +++ b/templates/mailman-django/lists/created.html @@ -9,6 +9,8 @@

{% trans "List Created" %}

+

Logout

+

The list {{ fqdn_listname }} has been created. What would you like to do next?