Skip to content

Commit

Permalink
improve set password page
Browse files Browse the repository at this point in the history
  • Loading branch information
yl5682 committed Oct 5, 2024
1 parent 891cf50 commit 6e6676d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion apps/templates/account/password_set.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
{% extends "account/base.html" %}
{% load sass_tags %}

{% load i18n %}
{% load crispy_forms_tags %}

{% block head_title %}{% trans "Set Password" %}{% endblock %}

{% block inner %}
<h1>{% trans "Set Password" %}</h1>
<link type="text/css" href="{% sass_src 'css/readux2/menu-inverse.scss' %}" rel="stylesheet">
{% include '_home/_nav.html' %}

<div class="uk-container uk-margin-bottom">

<!-- Breadcrumb -->
<ul class="breadcrumb uk-margin-small-top uk-margin-bottom">
<li><a href="/">Home</a></li>
<li>Set Password</li>
</ul>
<!-- End -->

<h1 class="page-title uk-margin-top uk-margin-remove-bottom">{% trans "Set Password" %}</h1>

<form method="POST" action="{% url 'account_set_password' %}" class="password_set">
{% csrf_token %}
{{ form|crispy }}
<input type="submit" name="action" value="{% trans 'Set Password' %}"/>
</form>

</div>
{% endblock %}

0 comments on commit 6e6676d

Please sign in to comment.