diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig index aeaaeac37..db81ec320 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig @@ -107,7 +107,7 @@ This view should receive those arguments: - {% if person.genderComment is not empty %} + {% if person.genderComment.comment is not empty %}

{{ 'Gender comment'|trans }} :

@@ -162,14 +162,16 @@ This view should receive those arguments: {% endif %} - {% if person.maritalStatusComment is not empty %} -
{{ 'Comment on the marital status'|trans }} :
-
+
{{ 'Comment on the marital status'|trans }} :
+
+ {% if person.maritalStatusComment.comment is not empty %}
{{ person.maritalStatusComment.comment|chill_markdown_to_html }}
-
- {% endif %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} + {%- endif -%}