Skip to content
Snippets Groups Projects
Verified Commit 21b67433 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Remove unrelated changes

parent 4720061e
No related branches found
No related tags found
1 merge request!450User invitations
Pipeline #45605 failed
......@@ -3,29 +3,21 @@
{% load i18n material_form %}
{% block browser_title %}{% trans "Change password" %}{% endblock %}
{% block no_page_title %}{% endblock %}
{% block page_title %}{% trans "Change password" %}{% endblock %}
{% block content %}
<div class="row">
<div class="col m1 l2 xl3"></div>
<div class="col s12 m10 l8 xl6">
<div class="card">
<form method="post" action="{% url 'account_change_password' %}">
<div class="card-content">
<div class="card-title">{% trans "Change password" %}</div>
{% csrf_token %}
{% form form=form %}{% endform %}
</div>
<div class="card-action-light">
{% trans "Change password" as caption %}
{% include "core/partials/save_button.html" with caption=caption icon="priority_high" %}
<a href="{% url "account_reset_password" %}" class="btn-flat right waves-effect waves-light">
{% trans "Reset password" %}
</a>
</div>
</div>
</form>
</div>
<div class="alert warning">
<p>
<i class="material-icons left">warning</i>
{% trans "Forgot your current password? Click here to reset it:" %} <a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>.
</p>
</div>
</div>
<form method="post" action="{% url 'account_change_password' %}">
{% csrf_token %}
{% form form=form %}{% endform %}
{% trans "Change password" as caption %}
{% include "core/partials/save_button.html" with caption=caption icon="priority_high" %}
</form>
{% endblock %}
......@@ -9,13 +9,11 @@
<div class="container">
<div class="card green">
<div class="card-content white-text">
<div class="card-title">
<i class="material-icons small left">success</i>
{% blocktrans %}Password changed{% endblocktrans %}
</div>
<div class="material-icons small left">success</div>
<span class="card-title">{% blocktrans %}Password changed!{% endblocktrans %}</span>
<p>
{% blocktrans %}
Your password is now changed.
Your password is now changed!
{% endblocktrans %}
</p>
</div>
......
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