2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'form.html.twig' %}
|
|
|
|
|
2018-02-26 15:25:15 -05:00
|
|
|
{% block title %}
|
|
|
|
Camera 📷 CRUD - Cameras - Edit
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% block form %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h1>Edit Camera</h1>
|
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('camera_index') }}">Back to the list</a>
|
2017-11-09 11:53:01 -05:00
|
|
|
</li>
|
2018-02-14 15:08:03 -05:00
|
|
|
</ul>
|
|
|
|
</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) }}
|
2018-07-16 13:10:00 -04:00
|
|
|
{{ form_widget(edit_form) }}
|
|
|
|
<button type="submit" class="success button expanded">Update</button>
|
2018-02-14 15:08:03 -05:00
|
|
|
{{ form_end(edit_form) }}
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2018-07-16 13:10:00 -04:00
|
|
|
<div class="grid-x grid-margin-x">
|
|
|
|
<div class="cell large-6 small-12">
|
|
|
|
{{ form_start(deacquire_form) }}
|
|
|
|
{{ form_widget(deacquire_form) }}
|
|
|
|
<button type="submit" class="button expanded">De-acquire</button>
|
|
|
|
{{ form_end(deacquire_form) }}
|
|
|
|
</div>
|
|
|
|
<div class="cell large-6 small-12">
|
|
|
|
{{ form_start(delete_form) }}
|
|
|
|
<button type="submit" class="alert button expanded">Delete</button>
|
|
|
|
{{ form_end(delete_form) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-09 11:53:01 -05:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|