change block personcontent to content more consistent with other templates and less need for if-statements

This commit is contained in:
2022-02-24 15:58:02 +01:00
parent f8ec0f85e5
commit c4e0b68ebe
64 changed files with 66 additions and 73 deletions

View File

@@ -20,7 +20,7 @@
{% block title 'Edit an address'|trans %}
{% block personcontent %}
{% block content %}
<div class="address-edit">
{% block content %}

View File

@@ -20,7 +20,7 @@
{% block title %}{{ 'Addresses history for %name%'|trans({ '%name%': person.firstName ~ ' ' ~ person.lastName } ) }}{% endblock %}
{% block personcontent %}
{% block content %}
<div class="person-address">
<h1>{{ 'Addresses history'|trans }}</h1>

View File

@@ -20,7 +20,7 @@
{% block title %}{{ 'New address'|trans }}{% endblock %}
{% block personcontent %}
{% block content %}
<div class="address-new">
{% block content %}