{% extends 'pages/news/overview.twig' %} {% import 'macros/base.twig' as m %} {% import 'macros/form.twig' as f %} {% block title %} {{ m.button(m.icon('chevron-left'), url('/news'), null, 'sm') }} {% if news.is_meeting %}{{ __('news.is_meeting') }} {% endif %}{{ news.title }} {% endblock %} {% block news %} {{ _self.news(news) }} {% endblock %} {% block comments %}

{{ __('news.comments') }}

{% for comment in news.comments %}
{{ comment.text|nl2br }}
{% endfor %}
{% endblock %} {% block write_comment %} {% if has_permission_to('news_comments') %}

{{ __('news.comments.new') }}

{{ csrf() }} {{ f.textarea('comment', __('news.comments.message'), { 'required': true, }) }} {{ f.submit() }}
{% endif %} {% endblock %}