mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
admin: add custom template for userjob edit
This commit is contained in:
@@ -313,6 +313,7 @@ class ChillMainExtension extends Extension implements
|
||||
],
|
||||
'edit' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
'template' => '@ChillMain/UserJob/edit.html.twig',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
@@ -0,0 +1,7 @@
|
||||
{% extends '@ChillMain/CRUD/Admin/index.html.twig' %}
|
||||
|
||||
{% block content -%}
|
||||
{% embed '@ChillMain/CRUD/_edit_content.html.twig' %}
|
||||
{% block content_form_actions_save_and_show %}{% endblock %}
|
||||
{% endembed %}
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user