Material types edition : better form
parent
4e299630b6
commit
037806df82
@ -1,8 +1,15 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Modification type de matériau - {{ parent() }}{% endblock %}
|
||||
{% block title %}{% if materialType.id is null %}Création {% else %}Modification{% endif %} type de matériau - {{ parent() }}{% endblock %}
|
||||
|
||||
{% block mainContent %}
|
||||
<h1>Modification type de matériau</h1>
|
||||
<h1>
|
||||
{% if materialType.id is null %}
|
||||
Création nouveau type de matériau
|
||||
{% else %}
|
||||
Modification du type de matériau "{{ materialType.name }}"
|
||||
{% endif %}
|
||||
</h1>
|
||||
{{ form(form) }}
|
||||
<a href="{{ path('config_materialType_list') }}" class="btn btn-danger">Annuler</a>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue