2022-09-29 20:09:31 -04:00
{% extends 'form.html.twig' %}
{% block title %} Brands - Edit {% endblock %}
{% block form %}
2022-10-27 11:55:16 -04:00
<h2>Edit Brand</h2>
2022-09-29 20:09:31 -04:00
<div class="small callout">
<ul>
<li>
<a href=" {{ path ( 'brand_index' ) }} ">Back to the list</a>
</li>
</ul>
</div>
<div class="large primary callout">
2022-09-30 10:48:14 -04:00
{{ form_start ( edit_form ) }}
{{ form_widget ( edit_form ) }}
2022-09-29 20:09:31 -04:00
<button
type="submit"
class="success button expanded"
>Update</button>
2022-09-30 10:48:14 -04:00
{{ form_end ( edit_form ) }}
2022-09-29 20:09:31 -04:00
2022-10-27 11:55:16 -04:00
<form method="post" action=" {{ path ( '<?= $route_name ?>_delete' , { '<?= $entity_identifier ?>' : < ? = $ entity_twig_var_singular ? > . < ? = $ entity_identifier ? > } ) }} " onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value=" {{ csrf_token ( 'delete' ~ < ? = $ entity_twig_var_singular ? > . < ? = $ entity_identifier ? > ) }} ">
2022-09-29 20:09:31 -04:00
<button type="submit" class="alert button expanded">Delete</button>
</form>
</div>
{% endblock %}