File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 11{% extends "admin/base_site.html" %}
22{% load admin_urls i18n static %}
33
4- {% block extrastyle %}{{ block.super }}" > {% endblock %}
4+ {% block extrastyle %}{{ block.super }}{% endblock %}
55
66{% block content %}
77 < div id ="content-main ">
8- < p class ="bg-primary-100 mb-8 text-primary-600 px-3 py-3 rounded-default text-sm ">
9- {% translate 'Your password was changed.' %}
10- </ p >
8+ {% translate 'Your password was changed.' as message %}
9+ {% include "unfold/helpers/messages/success.html" with message=message %}
1110 </ div >
1211{% endblock %}
Original file line number Diff line number Diff line change 1919
2020 {% include "unfold/helpers/messages/info.html" with message=message %}
2121
22- {% include "unfold/helpers/field.html" with field=form.old_password %}
22+ < fieldset class ="fieldset group border border-base-200 mb-6 rounded-default shadow-xs p-3 dark:border-base-800 *:last:mb-0 ">
23+ {% include "unfold/helpers/field.html" with field=form.old_password %}
2324
24- {% include "unfold/helpers/field.html" with field=form.new_password1 %}
25+ {% include "unfold/helpers/field.html" with field=form.new_password1 %}
2526
26- {% include "unfold/helpers/field.html" with field=form.new_password2 %}
27+ {% include "unfold/helpers/field.html" with field=form.new_password2 %}
28+ </ fieldset >
2729
28- < button type ="submit " class ="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded-default text-sm text-white ">
29- {% translate 'Change password' %}
30- </ button >
30+ < div class ="flex justify-end ">
31+ < button type ="submit " class ="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded-default text-sm text-white ">
32+ {% translate 'Change password' %}
33+ </ button >
34+ </ div >
3135 </ div >
3236 </ form >
3337 </ div >
You can’t perform that action at this time.
0 commit comments