{% 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 content %}
{% include 'layouts/parts/messages.twig' %}
{% block row %}
{% block questions %} {% block faq_text %} {% if has_permission_to('faq.view') %} {% if not is_admin | default(false) %}

{{ __('question.faq_link', [url('/faq')]) | raw }}

{% endif %} {% endif %} {% endblock %} {% for question in questions %}
{{ question.text|nl2br }}
{% if question.answer %}
{{ question.answer|markdown }}
{% endif %}
{% endfor %} {% endblock %}
{% endblock %}
{% endblock %}