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

32 lines
697 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Camera - Edit
{% endblock %}
2017-11-09 11:53:01 -05:00
{% block form %}
2018-02-14 15:08:03 -05:00
<h2>Edit Camera</h2>
2017-11-09 11:53:01 -05:00
2018-02-14 15:08:03 -05:00
<div class="small callout">
<ul>
<li>
<a href="{{ path('previously-owned-camera_index') }}">Back to the list</a>
</li>
</ul>
</div>
2017-11-09 11:53:01 -05:00
2017-11-15 11:34:48 -05:00
<div class="large primary callout">
2018-02-14 15:08:03 -05:00
{{ form_start(edit_form) }}
{{ form_widget(edit_form) }}
<button type="submit" class="success button">Update</button>
{{ form_end(edit_form) }}
<hr />
{{ form_start(reacquire_form) }}
{{ form_widget(reacquire_form) }}
<button type="submit" class="button">Reacquire</button>
{{ form_end(reacquire_form) }}
2017-11-09 11:53:01 -05:00
</div>
{% endblock %}