diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig index b95dbedd9..4546cc56d 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig @@ -84,7 +84,7 @@ {{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }} {%- endif -%} {%- if form.otherPhoneNumbers is defined -%} - {{ form_row(form.otherPhoneNumbers) }} + {{ form_widget(form.otherPhoneNumbers) }} {%- endif -%} {%- if form.contactInfo is defined -%} {{ form_row(form.contactInfo, {'label': 'Notes on contact information'}) }} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig index 45c8cd1ed..796a7f82e 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/view.html.twig @@ -227,6 +227,17 @@ This view should receive those arguments:
{{ person.mobilenumber|chill_format_phonenumber }}{% else %}{{ 'No data given'|trans }}{% endif %}
{{ pp.phoneNumber|chill_format_phonenumber }}+ {% if pp.description is not empty %} +
+ {{ pp.description|nl2br }} + {% endif %} ++