{% extends "app_home/base.html" %} {% load static %} {% load i18n %} {% block navbar_app %} {% include 'app_home/_navbar_app.html' %} {% endblock %} {% block title %}

  {{ classobj.displayname }}


{% endblock %} {% block content %}
{% csrf_token %}  {% translate 'Back' %}
Unique for this class, no special char, no whitespace, no accent
{% if "p_permission_edit" in aaa.perms %}
{% else %}
{% endif %}
{% for page,pageitems in formular.PAGES.items %}

{{ page|default:classobj.displayname }}


{% for order,orderitems in pageitems.items %} {% for item in orderitems %} {% if item.dataformat == "string" %} {% include 'app_data/fields/_string.html' %} {% elif item.dataformat == "int" %} {% include 'app_data/fields/_int.html' %} {% elif item.dataformat == "boolean" %} {% include 'app_data/fields/_boolean.html' %} {% elif item.dataformat == "schema" %} {% include 'app_data/fields/_schema.html' %} {% elif item.dataformat == "user" %} {% include 'app_data/fields/_user.html' %} {% elif item.dataformat == "group" %} {% include 'app_data/fields/_group.html' %} {% elif item.dataformat == "ipv4" %} {% include 'app_data/fields/_ipv4.html' %} {% elif item.dataformat == "float" %} {% include 'app_data/fields/_float.html' %} {% elif item.dataformat == "date" %} {% include 'app_data/fields/_date.html' %} {% elif item.dataformat == "text" %} {% include 'app_data/fields/_text.html' %} {% elif item.dataformat == "enumerate" %} {% include 'app_data/fields/_enumerate.html' %} {% else %} {% if item.is_multi %}
Unsupported Multi-value
/!\UNKNOWN FORMAT {{item.dataformat }}
{% else %}
/!\ UNKNOWN FORMAT {{item.dataformat }}: {{ item.description }}
{% endif %}{% endif %}{% endfor %} {% endfor %} {% endfor %}
{% endblock %} {% block script %} {% for page,pageitems in formular.PAGES.items %}{% for order,orderitems in pageitems.items %}{% for item in orderitems %} {% if item.dataformat == "schema" %} {% if item.bigset %} {% else %} {% endif %} {% elif item.dataformat == "group" %} {% elif item.dataformat == "user" %} {% if item.bigset %} {% else %} {% endif %} {% elif item.dataformat == "enumerate" %} {% endif %} {% endfor %}{% endfor %}{% endfor %} {% endblock %}