better twig extends path syntax

This commit is contained in:
Mathieu Jaumotte 2021-07-12 10:32:48 +02:00
parent 17ff80c39c
commit c1ede921ff
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
{% set title = 'DRAFT' == accompanyingCourse.step ? 'New accompanying course' : 'Edit accompanying course' %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
{% block title %}
{{ 'Accompanying Course Details'|trans }}

View File

@ -1,4 +1,5 @@
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
{% import '@ChillMain/Address/macro.html.twig' as address %}
{% block title %}

View File

@ -1,7 +1,7 @@
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
{% block top_banner %}
{{ include('ChillPersonBundle:AccompanyingCourse:banner.html.twig', { title: block('title') }) }}
{{ include('@ChillPerson/AccompanyingCourse/banner.html.twig', { title: block('title') }) }}
{% endblock %}
{% block layout_wvm_content %}

View File

@ -1,4 +1,4 @@
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
{% block top_banner %}
{{ include('@ChillPerson/Household/banner.html.twig', { title: block('title') }) }}
@ -14,4 +14,3 @@
'args' : { 'household': household }
}) }}
{% endblock %}