mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +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 %}{{ 'Report edit' |trans }}{% endblock title %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
{{ form_start(edit_form) }}
|
||||
|
||||
{{ form_row(edit_form.user) }}
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
{% block title %}{{ 'Report list' |trans }}{% endblock title %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ 'Report list'|trans }}</h1>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
{% block title %}{{ 'Add a report'|trans }}{% endblock title %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
{{ form_start(form) }}
|
||||
|
||||
{{ form_row(form.user) }}
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
{% block title %}{{ 'Add a report'|trans() }}{% endblock title %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_widget(form.cFGroup) }}
|
||||
|
@@ -20,7 +20,7 @@
|
||||
|
||||
{% block title %}{{ 'Report view' |trans() }}{% endblock title %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ 'Report view : %name%' | trans({ '%name%' : entity.cFGroup.getName|localize_translatable_string } ) }}</h1>
|
||||
|
||||
|
Reference in New Issue
Block a user