{{ form_start(respondForm, { 'attr': {'class': 'form-inline'} })}}
{{ form_widget(respondForm.idparent, { 'attr': { 'class': 'form-control', 'value': comment.id|number_format }}) }} {{ form_errors(respondForm.idparent) }}
{{ form_widget(respondForm.author, { 'attr': { 'class': 'form-control', 'placeholder': 'Enter your name' }}) }} {{ form_errors(respondForm.author) }}
{{ form_widget(respondForm.content, { 'attr': { 'rows': '1', 'class': 'form-control', 'placeholder': 'Enter your comment' }}) }} {{ form_errors(respondForm.content) }}
{{ form_end(respondForm) }} {% for flashMessage in app.session.flashbag.get('success2') %}
{{ flashMessage }}
{% endfor %} {{ form_end(respondForm)}}