collection-crud/templates/cameratype/edit.html.twig

31 lines
637 B
Twig

{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Camera Type - Edit
{% endblock %}
{% block form %}
<h2>Edit Camera Type</h2>
<div class="small callout">
<ul>
<li>
<a href="{{ path('camera-type_index') }}">Back to the list</a>
</li>
</ul>
</div>
<div class="large callout primary">
{{ form_start(form) }}
{{ form_widget(form) }}
<button type="submit" class="success button expanded">Save</button>
{{ form_end(form) }}
<hr />
{{ form_start(delete_form) }}
<button type="submit" class="alert button expanded">Delete</button>
{{ form_end(delete_form) }}
</div>
{% endblock %}