{% trans_default_domain 'FOSCommentBundle' %} {# This file is part of the FOSCommentBundle package. (c) FriendsOfSymfony
This source file is subject to the MIT license that is bundled with this source code in the file LICENSE. #}
{% block fos_comment_form_fields %} {{ form_errors(form) }} {{ form_errors(form.isCommentable) }} {{ form_widget(form.isCommentable) }} {{ form_rest(form) }} {% endblock %}
{% block fos_comment_form_submit %}
{{ (isCommentable ? 'fos_comment_thread_open' : 'fos_comment_thread_close') | trans({}, 'FOSCommentBundle') }}
{% endblock %}