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

35 lines
733 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block form %}
2018-02-14 15:08:03 -05:00
<h2>Edit Lens</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('lens_index') }}">Back to the list</a>
</li>
2017-11-09 11:53:01 -05:00
</ul>
2018-02-14 15:08:03 -05:00
</div>
2017-11-09 11:53:01 -05:00
2017-11-22 13:49:31 -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) }}
2017-11-09 11:53:01 -05:00
2018-02-14 15:08:03 -05:00
<hr />
2017-11-09 11:53:01 -05:00
2018-02-14 15:08:03 -05:00
{{ form_start(deacquire_form) }}
{{ form_widget(deacquire_form) }}
2018-01-04 10:42:36 -05:00
<button type="submit" class="button">De-acquire</button>
2018-02-14 15:08:03 -05:00
{{ form_end(deacquire_form) }}
2018-01-04 10:42:36 -05:00
<hr />
2018-02-14 15:08:03 -05:00
{{ form_start(delete_form) }}
<button type="submit" class="alert button">Delete Lens</button>
{{ form_end(delete_form) }}
2017-11-09 11:53:01 -05:00
</div>
{% endblock %}