diff --git a/account/forms.py b/account/forms.py index 89701b7..84f4fc1 100644 --- a/account/forms.py +++ b/account/forms.py @@ -135,8 +135,10 @@ class AdminForm(forms.Form): self._request = kwargs.pop('request', None) self._users = kwargs.pop('users', []) choices = [(x, x) for x in self._users] + choices.insert(0, ('', 'Select username ...')) super(AdminForm, self).__init__(*args, **kwargs) - self.fields['username'] = forms.ChoiceField(choices=choices) + self.fields.insert(0, 'username', forms.ChoiceField(choices=choices, + help_text=_('Select the username for whom you want to reset the password.'))) def clean(self): cleaned_data = super(AdminForm, self).clean() diff --git a/account/templates/member_base.html b/account/templates/member_base.html index 795300b..6b850e9 100644 --- a/account/templates/member_base.html +++ b/account/templates/member_base.html @@ -40,7 +40,8 @@ {% if group.name == 'ldap_admins' %} {% url account.views.admin as admin_url %}
  • - {% trans "Admin" %} + + {% trans "Admin" %}
  • {% endif %} {% endfor %}