40 lines
973 B
Twig
40 lines
973 B
Twig
{% extends 'form.html.twig' %}
|
|
|
|
{% block title %}
|
|
Camera 📷 CRUD - Cameras - Edit
|
|
{% endblock %}
|
|
|
|
{% 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(form) }}
|
|
{{ form_errors(form) }}
|
|
{{ form_widget(form) }}
|
|
<button type="submit" class="success button expanded">Update</button>
|
|
{{ form_end(form) }}
|
|
|
|
<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>
|
|
</div>
|
|
{% endblock %}
|