diff --git a/plinth/modules/users/templates/users_change_password.html b/plinth/modules/users/templates/users_change_password.html index fa2e36e55..6ac0a2b76 100644 --- a/plinth/modules/users/templates/users_change_password.html +++ b/plinth/modules/users/templates/users_change_password.html @@ -21,24 +21,20 @@ {% load bootstrap %} {% load i18n %} -{% block content_row %} -
- {% include 'messages.html' %} +{% block content %} +

+ {% blocktrans trimmed with username=form.user.username %} + Change Password for {{ username }} + {% endblocktrans %} +

+
+ {% csrf_token %} -

- {% blocktrans trimmed with username=form.user.username %} - Change Password for {{ username }} - {% endblocktrans %} -

- - {% csrf_token %} + {{ form|bootstrap }} - {{ form|bootstrap }} - - -
-
+ + {% endblock %} {% block page_js %} diff --git a/plinth/modules/users/templates/users_firstboot.html b/plinth/modules/users/templates/users_firstboot.html index c58a17e60..cc591e2de 100644 --- a/plinth/modules/users/templates/users_firstboot.html +++ b/plinth/modules/users/templates/users_firstboot.html @@ -22,30 +22,25 @@ {% load i18n %} {% load static %} -{% block content_row %} -
- {% include 'messages.html' %} +{% block content %} +

{% trans "Administrator Account" %}

-

{% trans "Administrator Account" %}

+

+ {% blocktrans trimmed %} + Choose a username and password to access this web interface. + The password can be changed later. This user will be granted + administrative privileges. Other users can be added later. + {% endblocktrans %} +

-

- {% blocktrans trimmed %} - Choose a username and password to access this web interface. - The password can be changed later. This user will be granted - administrative privileges. Other users can be added later. - {% endblocktrans %} -

+
+ {% csrf_token %} - - {% csrf_token %} + {{ form|bootstrap }} - {{ form|bootstrap }} - - -
- -
+ + {% endblock %} {% block page_js %} diff --git a/plinth/modules/users/templates/users_update.html b/plinth/modules/users/templates/users_update.html index 586e63b0d..c50536815 100644 --- a/plinth/modules/users/templates/users_update.html +++ b/plinth/modules/users/templates/users_update.html @@ -21,30 +21,26 @@ {% load bootstrap %} {% load i18n %} -{% block content_row %} -
- {% include 'messages.html' %} +{% block content %} +

{{ object.username }}

-

{{ object.username }}

+

+ {% url 'users:change_password' object.username as change_password_url %} -

- {% url 'users:change_password' object.username as change_password_url %} + {% blocktrans trimmed %} + Use the change password form + to change the password. + {% endblocktrans %} +

- {% blocktrans trimmed %} - Use the change password form - to change the password. - {% endblocktrans %} -

+
+ {% csrf_token %} - - {% csrf_token %} + {{ form|bootstrap }} - {{ form|bootstrap }} - - -
-
+ + {% endblock %} {% block page_js %}