mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 13:33:48 +00:00
change block personcontent to content more consistent with other templates and less need for if-statements
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
{% block title %}{{ 'Update details for %name%'|trans({ '%name%': person|chill_entity_render_string } ) }}{% endblock %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
<div class="person-edit">
|
||||
|
||||
<h1>{{ block('title') }}</h1>
|
||||
|
@@ -84,7 +84,7 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
<div class="person-household">
|
||||
<h1>{{ 'household.Household history'|trans }}</h1>
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
{% block layout_wvm_content %}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10 col-xxl">
|
||||
{% block personcontent %}{# block personcontent empty #}{% endblock %}
|
||||
{% block content %}{# block content empty #}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -32,7 +32,7 @@ This view should receive those arguments:
|
||||
{% set edit_tmp_args = { 'form_path_args' : { 'person_id': person.id },
|
||||
'form_path_key' : 'chill_person_general_edit' } %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
<div class="person-view">
|
||||
|
||||
<div class="row">
|
||||
|
Reference in New Issue
Block a user