0001-templates-a11y-put-login-action-links-in-a-list-4113.patch
src/authentic2/templates/authentic2/login_password_form.html | ||
---|---|---|
19 | 19 |
{% endblock %} |
20 | 20 | |
21 | 21 |
{% block actions %} |
22 |
{% if can_reset_password or registration_authorized %} |
|
22 | 23 |
<div class="login-actions"> |
24 |
<ul> |
|
23 | 25 |
{% if can_reset_password %} |
24 |
<p>→ {% trans "Forgot password?" %} <a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">{% trans "Reset it!" %}</a></p>
|
|
26 |
<li><p>→ {% trans "Forgot password?" %} <a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">{% trans "Reset it!" %}</a></p></li>
|
|
25 | 27 |
{% endif %} |
26 | 28 |
{% if registration_authorized %} |
27 |
<p>→ {% trans "Not a member?" %} <a href="{{ registration_url }}">{% trans "Register!" %}</a></p>
|
|
29 |
<li><p>→ {% trans "Not a member?" %} <a href="{{ registration_url }}">{% trans "Register!" %}</a></p></li>
|
|
28 | 30 |
{% endif %} |
31 |
</ul> |
|
29 | 32 |
</div> |
33 |
{% endif %} |
|
30 | 34 |
{% endblock %} |
31 | 35 | |
32 | 36 |
{% endblock %} |
33 |
- |