{% extends "admin/common/iframe_wrap.html.twig" %} {% block stylesheet %} {% endblock %} {% block javascript %} {% endblock %} {% block content %}


{% for subdefgroup, subdeflist in subdefs %}
{% for subdefname , subdef in subdeflist %}

{{subdefname}}

{% trans 'Telechargeable' %}
{% trans 'classe' %}
Path
{% trans 'Write Metas' %}
{% trans 'mediatype' %}
{% for subdefType in subdef.getAvailableSubdefTypes() %}
{% for option in subdefType.getOptions() %} {% set varname = subdefgroup~'_'~subdefname~'_'~subdefType.getType()~'['~ option.getName() ~']' %} {% endfor %}
{{option.getDisplayName()}} {% set extradata = '' %} {% if option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_RANGE') %}
{% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_ENUM') %} {% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_BOOLEAN') %} {% trans 'yes' %} {% trans 'no' %} {% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_MULTI') %} {% for pot_value, selected in option.Value(true) %} {% endfor %} {% endif %}
{% if option.type == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_RANGE') %} {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}