{#{% extends 'ui/layout.html' %}#} {% load i18n %} {% load partials %} {% load ui %} {% partialdef header %} {% if not user.is_managed %} {% endif %} {% endpartialdef %} {% partialdef data %}
{% csrf_token %}
{% include 'ui/form_error.html' %} {% include 'ui/form_error.html' with form=theme_form %}
{{ form.username|wrap_form_field }}
{% if not user.is_managed %}
{{ user|wrap_model_field:'email' }}
{% else %}
{% endif %}
{{ form.first_name|wrap_form_field }}
{{ form.last_name|wrap_form_field }}
{{ form.language_code|wrap_form_field }}
{{ form.theme|wrap_form_field }}

{% translate 'Custom Theme' %}


{{ theme_form.user }}
{{ theme_form.color_primary|wrap_form_field }}
{{ theme_form.color_success|wrap_form_field }}
{{ theme_form.color_link|wrap_form_field }}
{{ theme_form.color_warning|wrap_form_field }}
{{ theme_form.color_danger|wrap_form_field }}
{% endpartialdef %}