Merge branch 'master' into HEAD

This commit is contained in:
2021-10-18 13:49:00 +02:00
86 changed files with 2566 additions and 789 deletions

View File

@@ -94,7 +94,7 @@
</div>
<ul class="record_actions">
<li>
<button type="submit" class="btn btn-save">
<button type="submit" class="btn btn-save" id="form_household_comment_confirm">
{{ 'Save'|trans }}
</button>
</li>

View File

@@ -18,12 +18,12 @@
{% set activeRouteKey = '' %}
{% block title %}{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName } )|capitalize }}{% endblock %}
{% block title %}{{ 'Update details for %name%'|trans({ '%name%': person|chill_entity_render_string } ) }}{% endblock %}
{% block personcontent %}
<div class="person-edit">
<h1>{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName|capitalize } ) }}</h1>
<h1>{{ block('title') }}</h1>
{% form_theme form '@ChillMain/Form/fields.html.twig' %}
{{ form_start(form) }}

View File

@@ -23,8 +23,7 @@ This view should receive those arguments:
- person
#}
{% block title %}{{ 'Person details'|trans|capitalize ~ ' ' ~ person.firstName|capitalize ~
' ' ~ person.lastName }}{% endblock %}
{% block title %}{{ 'Person details'|trans|capitalize ~ ' ' ~ person|chill_entity_render_string }}{% endblock %}
{#
we define variables to include an edit form repeated multiple time across
the page