add suffix to assets entrypoints + replace link/script html tags by encore_entry twig tag

This commit is contained in:
2021-07-23 12:27:30 +02:00
parent e0dbe9cf9d
commit d20a3cf9d4
9 changed files with 45 additions and 55 deletions

View File

@@ -22,7 +22,7 @@
{% block personcontent %}
<div class="person-edit">
<h1>{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName|capitalize } ) }}</h1>
{% form_theme form '@ChillMain/Form/fields.html.twig' %}
@@ -142,5 +142,5 @@
{% endblock %}
{% block js %}
{{ encore_entry_link_tags('person') }}
{{ encore_entry_link_tags('page_person') }}
{% endblock %}