mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
22 lines
711 B
Twig
22 lines
711 B
Twig
{% extends '@ChillMain/CRUD/Admin/index.html.twig' %}
|
|
|
|
{% block title %}
|
|
{% include('@ChillMain/CRUD/_edit_title.html.twig') %}
|
|
{% endblock %}
|
|
|
|
{% block admin_content %}
|
|
{% embed '@ChillMain/CRUD/_edit_content.html.twig' %}
|
|
|
|
{% block crud_content_form_rows %}
|
|
{% for f in form %}
|
|
{% if f.vars.name == 'parent' %}
|
|
{{ form_row(f, { 'attr':{'disabled':'disabled'}}) }}
|
|
{% else %}
|
|
{{ form_row(f) }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock crud_content_form_rows %}
|
|
|
|
{% block content_form_actions_save_and_show %}{% endblock %}
|
|
{% endembed %}
|
|
{% endblock admin_content %} |