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

21 lines
489 B
Twig

{% extends 'form.html.twig' %}
{% block form %}
<h2>Edit Camera</h2>
<div class="small callout">
<ul>
<li>
<a href="{{ path('previously-owned-camera_index') }}">Back to the list</a>
</li>
</ul>
</div>
<div class="large primary callout">
{{ form_start(edit_form) }}
{{ form_widget(edit_form) }}
<button type="submit" class="success button">Update</button>
{{ form_end(edit_form) }}
</div>
{% endblock %}