{% extends 'base/base.html' %} {% load widget_tweaks %} {% block bodyblock %}
{% if annotation_type %}

Annotation Type "{{ annotation_type.name }}"

{% else %}

Annotation Types

{% endif %}
{% include "administration/annotation_types_list.html" %}
{% if annotation_type %}

Edit "{{ annotation_type.name }}"

{% csrf_token %}
{% render_field edit_form.name class+='form-control' %}
{% render_field edit_form.active class+='form-control' %}
{% render_field edit_form.enable_blurred class+='form-control' %}
{% render_field edit_form.enable_concealed class+='form-control' %}
Vector Type {{ vector_type_name }}
Node count {{ annotation_type.node_count }}
{% if annotation_type.vector_type == 1 %}
Changing the vector type requires a migration of the annotations.
It is a non reversible process. No warranties!
{% endif %}
{% else %}
{% endif %}

Create a new Annotation Type

{% csrf_token %}
{% render_field create_form.name class+='form-control' %}
{% render_field create_form.active class+='form-control' %}
{% render_field create_form.enable_blurred class+='form-control' %}
{% render_field create_form.enable_concealed class+='form-control' %}
{% render_field create_form.node_count class+='form-control' %}
{% endblock %}