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

31 lines
708 B
Twig

{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Camera - Edit
{% endblock %}
{% block form %}
<h2>Edit Previously Owned 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(form) }}
{{ form_widget(form) }}
<button type="submit" class="success button expanded">Update</button>
{{ form_end(form) }}
{{ form_start(reacquire_form) }}
{{ form_widget(reacquire_form) }}
<button type="submit" class="button expanded">Reacquire</button>
{{ form_end(reacquire_form) }}
</div>
{% endblock %}