Commit b0fc6ea4 authored by Noe Nieto's avatar Noe Nieto 💬

WIP: Improve messages.

parent 4c16586a
Pipeline #5612 failed with stage
......@@ -8,5 +8,5 @@ class PasswordRecoveryForm(BasePasswordRecoveryForm):
def __init__(self, *args, **kwargs):
super(PasswordRecoveryForm, self).__init__(*args, **kwargs)
self.fields['username_or_email'] = forms.CharField(
label = _('Enter your LibremOne username or your recovery email')
label = _('Enter your recovery email')
)
{% extends "password_reset/base.html" %}
{% load i18n %}
{% block title %}{% trans "Account recovery" %}{% endblock %}
{% block header %}{% trans "Account recovery" %}{% endblock %}
{% block byline %}{% trans "If you previously entered a recovery email, you can use it now. " %}{% endblock %}
{% block login_status%}{% endblock %}
{% block content %}
<form method="post" action="{{ url }}">
{% csrf_token %}
{{ form.as_p }}
<p><input type="submit" value="{% trans "Recover my account" %}"></p>
</form>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment