caisse-bliss/app/Resources/views/product/edit.html.twig

25 lines
607 B
Twig
Raw Normal View History

2018-04-05 17:24:43 +02:00
{% extends 'base.html.twig' %}
{% block body %}
<h1>Product edit</h1>
{{ form_start(edit_form) }}
2018-04-17 14:30:15 +02:00
{{ form_widget(edit_form) }}
<input type="submit" value="Edit"/>
2018-04-05 17:24:43 +02:00
{{ form_end(edit_form) }}
<ul>
<li>
2018-04-17 14:30:15 +02:00
<a class="btn btn-primary" href="{{ path('product_index') }}">
2018-04-17 14:52:31 +02:00
<i class="fa fa-arrow-left"></i>
2018-04-17 14:30:15 +02:00
Retour à la liste
</a>
2018-04-05 17:24:43 +02:00
</li>
<li>
{{ form_start(delete_form) }}
2018-04-17 14:30:15 +02:00
<input type="submit" value="Delete">
2018-04-05 17:24:43 +02:00
{{ form_end(delete_form) }}
</li>
</ul>
{% endblock %}