34 lines
800 B
Twig
34 lines
800 B
Twig
{% extends 'form.html.twig' %}
|
|
|
|
{% block form %}
|
|
<h1>Edit Camera</h1>
|
|
|
|
<div class="small callout">
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('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) }}
|
|
|
|
<hr />
|
|
|
|
{{ form_start(deacquire_form) }}
|
|
{{ form_widget(deacquire_form) }}
|
|
<button type="submit" class="button">De-acquire</button>
|
|
{{ form_end(deacquire_form) }}
|
|
|
|
<hr />
|
|
|
|
{{ form_start(delete_form) }}
|
|
<button type="submit" class="alert button">Delete</button>
|
|
{{ form_end(delete_form) }}
|
|
</div>
|
|
{% endblock %}
|