2022-09-29 20:09:31 -04:00
|
|
|
{% extends 'form.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}GPU Core - Edit{% endblock %}
|
|
|
|
|
|
|
|
{% block form %}
|
|
|
|
<h1>Edit GPU Core</h1>
|
|
|
|
|
|
|
|
<div class="small callout">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('gpu-core_index') }}">Back to the list</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="large primary callout">
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_start(form) }}
|
|
|
|
{{ form_widget(form) }}
|
2022-09-30 10:48:14 -04:00
|
|
|
<button type="submit" class="success button expanded">Update</button>
|
2022-10-28 08:46:35 -04:00
|
|
|
{{ form_end(form) }}
|
2022-09-29 20:09:31 -04:00
|
|
|
|
2022-09-30 10:48:14 -04:00
|
|
|
<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>
|
2022-09-29 20:09:31 -04:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|