43 lines
932 B
Twig
43 lines
932 B
Twig
{% extends 'form.html.twig' %}
|
|
|
|
{% block title %}Brand{% endblock %}
|
|
|
|
{% block form %}
|
|
<h2>Brand</h2>
|
|
|
|
<div class="callout">
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('brand_index') }}">Back to the list</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('brand_edit', { 'id': brand.id }) }}">Edit</a>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
<form method="post" action="{{ path('brand_delete', {'id': brand.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
|
|
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ brand.id) }}">
|
|
<button type="submit" class="alert button expanded">Delete</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="large primary callout">
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>Id</th>
|
|
<td>{{ brand.id }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Name</th>
|
|
<td>{{ brand.name }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endblock %}
|