{% extends 'layouts/app.twig' %} {% import 'macros/base.twig' as m %} {% block title %} {{ __('faq.faq') }} {% endblock %} {% block content %}

{{ block('title') }} {%- if has_permission_to('faq.edit') -%} {{ m.button(m.glyphicon('plus'), url('admin/faq')) }} {%- endif %}

{% include 'layouts/parts/messages.twig' %}
{% block text %} {% if text|default(null) %}
{{ text|markdown }}
{% endif %} {% endblock %} {% block row %} {% for item in items %}
{{ item.question }}
{{ item.text|markdown }}
{% endfor %} {% endblock %}
{% endblock %}