fix(python): fix ordering of fields in partials/account_form.html

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-12-04 00:51:59 -08:00
parent cf978e23aa
commit 27f8603dc5
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -42,17 +42,6 @@
"account is inactive." | tr }}</em> "account is inactive." | tr }}</em>
</p> </p>
{% if request.user.is_elevated() %}
<p>
<label for="id_inactive">{% trans %}Inactive{% endtrans %}:</label>
<input id="id_inactive" type="checkbox" name="J"
{% if inactive %}
checked="checked"
{% endif %}
>
</p>
{% endif %}
{% if request.user.has_credential(creds.ACCOUNT_CHANGE_TYPE) %} {% if request.user.has_credential(creds.ACCOUNT_CHANGE_TYPE) %}
<p> <p>
<label for="id_type"> <label for="id_type">
@ -85,6 +74,17 @@
</p> </p>
{% endif %} {% endif %}
{% if request.user.is_elevated() %}
<p>
<label for="id_inactive">{% trans %}Inactive{% endtrans %}:</label>
<input id="id_inactive" type="checkbox" name="J"
{% if inactive %}
checked="checked"
{% endif %}
>
</p>
{% endif %}
<!-- Email --> <!-- Email -->
<p> <p>
<label for="id_email"> <label for="id_email">