{% extends "core/base.jinja" %}

{% block title %}
  {% trans %}Edit UE{% endtrans %}
{% endblock %}

{% block content %}
  <h2>{% trans %}Edit UE{% endtrans %}</h2>
  <form action="" method="post" enctype="multipart/form-data" id="uv_edit">
    {% csrf_token %}
    {{ form.non_field_errors() }}

    {% for field in form %}

      {% if field.is_hidden %}

        {{ field }}

      {% else %}
        <p>
          {{ field.errors }}
          <label for="{{ field.name }}">{{ field.label }}</label>
          {{ field }}
        </p>
      {% endif %}


    {% endfor %}


    <p><input type="submit" value="{% trans %}Update{% endtrans %}" /></p>
  </form>
{% endblock %}
