{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Configuration - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.toggle_extrahead() }} {{ macros.select2_extrahead() }} {% endblock %} {% block content %} {% if diffs is not null %} {% if diffs %} {% else %} {% endif %} {% endif %}

Configuration

{% for category in options %}
    {% for option in category.data %}
  • {% if option.type == 'bool' %}
    {% elseif option.type == 'int' %} {% if option.options is not null %} {% else %} {% endif %}
    {% elseif option.type == 'string' or option.type == 'enum' %} {% if option.options is not null %} {% else %} {% endif %} {% elseif option.type == 'array_keyval' %}
    {% set counter = 0 %} {% for key,val in option.value %}
    {% if option.key_options is not null %} {% else %} {% endif %} {% if option.value_options is not null %} {% else %} {% endif %} {% set counter = counter + 1 %}
    {% endfor %}

    {% elseif option.type == 'array_val' %}
    {% if option.options is not null %} {% else %}
    {% set counter = 0 %} {% for val in option.value %}
    {% set counter = counter + 1 %} {% endfor %}
    {% endif %} {% endif %} {% if errors[option.name] is defined %}
    {{ errors[option.name] }}
    {% endif %}
    {{ option.description | markdown_to_html }}
  • {% endfor %}
{% endfor %}
{% endblock %} {% block extrafooter %} {% endblock %}