{#
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.
#}
{% set first = first|default(false) %}
{% set url_parameters = {'id': id } %}
{% if parent is not null %}
{% set url_parameters = url_parameters|merge({'parentId': parent.id}) %}
{% endif %}
{% block fos_comment_comment_form_holder %}
{% block fos_comment_form_title %}
{% if first %}
{% trans from 'FOSCommentBundle' %}fos_comment_comment_new_headline_first{% endtrans %}
{% elseif parent is not null %}
{% trans with {"%name%": parent.authorName } from 'FOSCommentBundle' %}fos_comment_comment_reply_reply_to{% endtrans %}
{% else %}
{% trans from 'FOSCommentBundle' %}fos_comment_comment_new_headline{% endtrans %}
{% trans from 'FOSCommentBundle' %}fos_comment_comment_new_headline_first{% endtrans %}
{% elseif parent is not null %}{% trans with {"%name%": parent.authorName } from 'FOSCommentBundle' %}fos_comment_comment_reply_reply_to{% endtrans %}
{% else %}{% trans from 'FOSCommentBundle' %}fos_comment_comment_new_headline{% endtrans %}
{% endif %} {% endblock %} {% block fos_comment_comment_new_form %} {% endblock fos_comment_comment_new_form %}