collection-crud/templates/gpu_core/show.html.twig

59 lines
1.3 KiB
Twig
Raw Normal View History

2022-09-29 20:09:31 -04:00
{% extends 'form.html.twig' %}
{% block title %}GPU Core{% endblock %}
{% block form %}
<h2>GPU Core</h2>
<div class="callout">
<ul>
<li>
<a href="{{ path('gpu-core_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('gpu-core_edit', { 'id': gpu_core.id }) }}">Edit</a>
</li>
</ul>
<hr />
<form method="post" action="{{ path('gpu-core_delete', {'id': gpu_core.id}) }}" onsubmit="return confirm('Are you sure you want to delete this item?');">
<input type="hidden" name="_token" value="{{ csrf_token('delete' ~ gpu_core.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>{{ gpu_core.id }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ gpu_core.name }}</td>
</tr>
<tr>
<th>Variant</th>
<td>{{ gpu_core.variant }}</td>
</tr>
<tr>
<th>GenerationName</th>
<td>{{ gpu_core.generationName }}</td>
</tr>
<tr>
<th>Architecture</th>
<td><a href="{{ gpu_core.architectureLink }}">{{ gpu_core.architecture }}</a></td>
</tr>
<tr>
<th>ProcessNode</th>
<td>{{ gpu_core.processNode }}nm</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}