{% extends 'assets/base.html' %} {% load bob i18n history_tags %} {% block content %}

{% block form_title %}{{caption}}{% endblock %}

{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% csrf_token %}
{% form_as_fieldsets form %}
{% include 'assets/attachment_table.html' with attachment_parent=licence parent_name='license' %} {% if licence %} {% short_history licence %}
{% trans "Assigned users" %}
{% for user in licence.users.all %} {% endfor %}
# {% trans "User" %}
{{ forloop.counter }} {{ user.username }}
{% endif %}
{% include 'assets/attachment_deletion.html' with attachment_parent=licence parent_name='license'%} {% endblock %}