admin: add custom template for userjob edit

This commit is contained in:
nobohan 2022-04-29 21:21:09 +02:00
parent e1fe2a396f
commit fabf23f1f0
2 changed files with 8 additions and 0 deletions

View File

@ -313,6 +313,7 @@ class ChillMainExtension extends Extension implements
],
'edit' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/UserJob/edit.html.twig',
],
],
],

View File

@ -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 %}