{% extends "base_resource.html" %} {% load i18n %} {% block entity_content %}

{% trans 'Login' %}

{% csrf_token %} {{ form.member.as_hidden }}
{{ form.first_name.label_tag }} {% if form.first_name.help_text %}
{{ form.first_name.help_text|safe }}
{% endif %} {{ form.first_name }} {{ form.first_name.errors }}
{{ form.last_name.label_tag }} {% if form.last_name.help_text %}
{{ form.last_name.help_text|safe }}
{% endif %} {{ form.last_name }} {{ form.last_name.errors }}
{{ form.username.label_tag }}
{% trans "You cannot update an existing username. Please create a new login instead and delete this one if you don't need it anymore." %}
{{ form.username }} {{ form.username.errors }}
{{ form.password.label_tag }}
{% trans "Leave the password field blank if you do not want to change it. Enter a new password that is at least 10 characters long if you want to change it. Or " %} {% trans ' click here to generate a random password yourself.' %}
{{ form.password.errors }}
{{ form.recovery_email.label_tag }} {% if form.recovery_email.help_text %}
{{ form.recovery_email.help_text|safe }}
{% endif %} {{ form.recovery_email }} {{ form.recovery_email.errors }}
{% trans "Add a new email address by filling out the form below. Domain not listed?" %} {% trans 'Add a new zone.' %}
    @
      {{ form.shell_access }} {{ form.shell_access.errors }} {% if form.shell_access.help_text %}
      {{ form.shell_access.help_text|safe }}
      {% endif %}
      {{ form.ssh_key.label_tag }} {% if form.ssh_key.help_text %}
      {{ form.ssh_key.help_text|safe }}
      {% endif %} {{ form.ssh_key }} {{ form.ssh_key.errors }}
      {{ form.nextcloud_access }} {{ form.nextcloud_access.errors }} {% if form.nextcloud_access.help_text %}
      {{ form.nextcloud_access.help_text|safe }}
      {% endif %}
      {{ form.nextcloud_quota.label_tag }} {% if form.nextcloud_quota.help_text %}
      {{ form.nextcloud_quota.help_text|safe }}
      {% endif %} {{ form.nextcloud_quota }} {{ form.nextcloud_quota.errors }}
      {{ form.livestreaming_access }} {{ form.livestreaming_access.errors }} {% if form.livestreaming_access.help_text %}
      {{ form.livestreaming_access.help_text|safe }}
      {% endif %}
      {{ form.xmpp_access }} {{ form.xmpp_access.errors }} {% if form.xmpp_access.help_text %}
      {{ form.xmpp_access.help_text|safe }}
      {% endif %}
      {% if user.is_superuser %}
      {{ form.mail_store.label_tag }} {% if form.mail_store.help_text %}
      {{ form.mail_store.help_text|safe }}
      {% endif %} {{ form.mail_store }} {{ form.mail_store.errors }}
      {{ form.partition.label_tag }} {% if form.partition.help_text %}
      {{ form.partition.help_text|safe }}
      {% endif %} {{ form.partition }} {{ form.partition.errors }}
      {% endif %}
      {% include 'history.html' %}
      {% include 'modal/domain_zone_form.html' %} {% endblock %}