{% extends "base.html" %} {% load dictionary_extras %} {% block extrahead %} {% endblock %} {% block title %}Klasyfikacje{% endblock %} {% block content %}
{% csrf_token %} {{ add_form.as_p }}

{% for classification, value_form, vocab_form, using in classification_forms %}
{% csrf_token %} {{ value_form.as_p }}

Używające słowniki:

{% if using %}
    {% for vocab in using %}
  • {{ vocab.id }}
  • {% endfor %}
{% else %}

brak

{% endif %}
{% csrf_token %} {{ vocab_form.as_p }}

{{ classification.name }}

Wartości:

{% with tree=classification.value_tree %} {% if tree %} {% value_tree tree %} {% endif %} {% endwith %}
{% endfor %} {% endblock %}