{% extends '_base_create_update.html' %} {% load i18n %} {% load static %} {% load bootstrap %} {% block form %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{% csrf_token %}

{% trans 'Account' %}

{{ form.username|bootstrap_horizontal }} {{ form.name|bootstrap_horizontal }} {{ form.email|bootstrap_horizontal }} {{ form.groups|bootstrap_horizontal }}
{% block password %} {% endblock %}

{% trans 'Security and Role' %}

{{ form.role|bootstrap_horizontal }}
{{ form.date_expired.errors }}
{{ form.enable_otp }}

{% trans 'Profile' %}

{{ form.phone|bootstrap_horizontal }} {{ form.wechat|bootstrap_horizontal }} {{ form.comment|bootstrap_horizontal }}
{% endblock %} {% block custom_foot_js %} {% endblock %}