{% extends "base.html" %} {% load ephios_crispy %} {% load user_extras %} {% load crispy_forms_filters %} {% load crispy_forms_tags %} {% load i18n %} {% load static %} {% load formset_tags %} {% block title %} {% if userprofile %} {% translate "Edit user" %} {% else %} {% translate "Add new user" %} {% endif %} {% endblock %} {% block content %} {% if oidc_group_claims %} {% endif %} {% if userprofile.email_invalid %} {% endif %}
{% csrf_token %} {{ userprofile_form|crispy }}
{{ qualification_formset.management_form }}

{% translate "Qualifications" %}

    {% for form in qualification_formset %}
  • {{ form.id }}
    {{ form.qualification }} {% if form.fields.qualification.disabled %} {{ form.fields.qualification.title }} {% if form.instance.externally_managed %} {% translate "externally managed" %} {% endif %} {% endif %}
    {% crispy_field form.expires label_class="col-md-4" field_class="col-md-8" wrapper_class="row" %}
    {{ form.DELETE }}
  • {% endfor %}
{% if userprofile %}

{% translate "Password" %}

{% blocktranslate trimmed %} If the user forgot their password, you can send them a password reset email. If there are doubts about the secrecy of the password, you should revoke it as well. {% endblocktranslate %}

{% translate "Send password reset email" %} {% translate "Revoke password and API Tokens" %}
{% endif %}
{% translate "Cancel" %}
{% endblock %}