mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Use the twig function chill_entity_render_string
to render the person's name
This commit is contained in:
parent
7b322d7bab
commit
d45de5405b
@ -1,12 +1,10 @@
|
|||||||
{% extends '@ChillMain/layout.html.twig' %}
|
{% extends '@ChillMain/layout.html.twig' %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title 'workflow.signature_zone.metadata.sign_by'|trans({ '%name%' : person|chill_entity_render_string}) %}
|
||||||
{{ 'Signature'|trans }}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-10 workflow">
|
<div class="col-10 workflow">
|
||||||
<h1 class="mb-5">{{ 'workflow.signature_zone.metadata.sign_by'|trans({ '%name%' : person.firstname ~ ' ' ~ person.lastname}) }}</h1>
|
<h1 class="mb-5">{{ block('title') }}</h1>
|
||||||
|
|
||||||
{% if metadata_form is not null %}
|
{% if metadata_form is not null %}
|
||||||
{{ form_start(metadata_form) }}
|
{{ form_start(metadata_form) }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user