{% 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.icon('plus-lg'), url('admin/faq'), 'secondary') }} {%- endif %}

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