17 lines
567 B
Twig
17 lines
567 B
Twig
{% extends 'layout.twig' %}
|
|
|
|
{% block title "{{ item.antenne_name }}" %}
|
|
|
|
{% block body %}
|
|
<div class="container" style="background-color: lightgray;opacity: 0.9;margin: 1rem;padding:1rem;">
|
|
<h4>Editer le produit : {{ item.name }}</h4>
|
|
|
|
<form action="{{ path('product.admin.edit', { id: item.id, region: explodeUrl()[2], slug: explodeUrl()[3], antenne: explodeUrl()[4]}) }}" method="post" enctype="multipart/form-data">
|
|
|
|
{% include viewPath ~ '/form.twig' %}
|
|
|
|
<button class="btn btn-primary" type="submit">Editer</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|