Skip to content
Snippets Groups Projects
Commit 41c6e768 authored by Tom Teichler's avatar Tom Teichler :beers: Committed by root
Browse files

Fix templates

parent a50309a4
No related branches found
No related tags found
2 merge requests!478Fix templates,!413Resolve "User registration"
Pipeline #5785 passed
......@@ -9,7 +9,7 @@
<div class="alert warning">
<p>
<i class="material-icons left">warning</i>
{% blocktrans %}Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it..{% endblocktrans %}
{% blocktrans %}Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it.{% endblocktrans %}
</p>
</div>
......@@ -19,8 +19,8 @@
{% blocktrans %}Please contact one of your site administrators, if you
have any troblue resetting your password:{% endblocktrans %}
</p>
{% include "core/partials/admins_list.html" %}
</div>
{% include "core/partials/admins_list.html" %}
<form method="post" action="{% url 'account_reset_password' %}" class="password_reset">
{% csrf_token %}
......
......@@ -11,7 +11,7 @@
<div class="card green">
<div class="card-content white-text">
<div class="material-icons small left">success</div>
<span class="card-title">{% blocktrans %}Password reset mail sent!{% endblock %}</span>
<span class="card-title">{% blocktrans %}Password reset mail sent!{% endblocktrans %}</span>
<p>
{% blocktrans %}
We have sent you an e-mail. Please contact one of your site
......
{% extends "core/base.html" %}
{% load i18n %}
{% load i18n material_form %}
{% block browser_title %}{% trans "Change password" %}{% endblock %}
{% block page_title %}{% trans "Change password" %}{% endblock %}
......@@ -30,8 +30,9 @@
</div>
{% else %}
{% if form %}
<form method="post" action="{% url 'account_change_password' %}">
<form method="post" action="{{ action_url }}">
{% csrf_token %}
{% form form=form %}{% endform %}
{% trans "Change password" as caption %}
{% include "core/partials/save_button.html" with caption=caption icon="priotity_high" %}
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment