Skip to content

Commit

Permalink
feat: add template events to make it easier to add information
Browse files Browse the repository at this point in the history
  • Loading branch information
delyriand committed Aug 8, 2023
1 parent 4ce6165 commit 04e6b69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/views/Admin/ContactRequest/Crud/show.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

<div class="ui fluid card">
<div class="content">
{{ sylius_template_event('monsieurbiz_contact.admin.contact_request.before_content', {'resource': resource}) }}
<h2>{{ 'monsieurbiz.contact_request.ui.email'|trans }}</h2>
<p>
{{ resource.email|default('') }}
Expand All @@ -36,6 +37,7 @@
<div>
{{ resource.message|nl2br|default('')|raw }}
</div>
{{ sylius_template_event('monsieurbiz_contact.admin.contact_request.after_content', {'resource': resource}) }}
</div>
</div>
{% endblock %}

0 comments on commit 04e6b69

Please sign in to comment.