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

31 lines
706 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-07-16 14:03:02 -04:00
2018-02-14 15:08:03 -05:00
{{ form_start(edit_form) }}
{{ form_widget(edit_form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="success button expanded">Update</button>
2018-02-14 15:08:03 -05:00
{{ form_end(edit_form) }}
{{ form_start(reacquire_form) }}
{{ form_widget(reacquire_form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="button expanded">Reacquire</button>
2018-02-14 15:08:03 -05:00
{{ form_end(reacquire_form) }}
2017-11-09 11:53:01 -05:00
</div>
{% endblock %}