{% extends 'layouts/app.twig' %} {% import 'macros/base.twig' as m %} {% import 'macros/form.twig' as f %} {% block title %} {% if is_admin | default(false) %} {{ __('question.admin') }} {% else %} {{ __('question.questions') }} {% endif %} {% endblock %} {% block contact_options %} {% for name,opt in config('contact_options') %} {% set url = opt is iterable ? opt[0] : opt %} {% set permission = opt is iterable ? opt[1] : null %} {% if not permission or has_permission_to(permission) %} {{ __(name) }} {% if not loop.last %},{% endif %} {% endif %} {% endfor %} {% endblock %} {% block content %}
{{ __('question.faq_link', [url('/faq')]) | raw }}
{% endif %} {% endif %} {% endblock %} {%- block info_text %} {% if config('contact_options') and not is_admin|default(false) %}{{ m.info(__('question.contact_options') ~ block('contact_options'), true) }}
{% endif %} {% endblock %} {% for question in questions %}