{% import 'shared/componnents/_macros/_alerts.html.twig' as alerts %}
{% extends 'base.html.twig' %}
{% block title %}Modifier type supplément{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% endblock %}
{% block content %}
{% set formHasNoErrors = false %}
{% if form.type.vars.errors|length %}
{{ alerts.notification(form_errors(form.type), 'info') }}
{% set formHasNoErrors = true %}
{% endif %}
{% include 'shared/layout/_content-header.html.twig' with {
'item_lien': [
{
'label': 'Modifier type supplément',
'path': path('app_supplement_type_index')
}
]
} %}
{% include 'supplement_type/_form.html.twig' with {
'path': path('app_supplement_type_edit', {'id': supplement_type.id}),
'path_list': path('app_supplement_type_index'),
'label_btn': 'Modifier'
} %}
{% endblock %}