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

31 lines
618 B
Twig
Raw Normal View History

2018-02-15 09:48:57 -05:00
{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Film - Edit
{% endblock %}
2018-02-15 09:48:57 -05:00
{% block form %}
<h1>Edit Film</h1>
<div class="small callout">
<ul>
<li>
<a href="{{ path('film_index') }}">Back to the list</a>
</li>
</ul>
</div>
<div class="large primary callout">
2022-10-28 08:46:35 -04:00
{{ form_start(form) }}
{{ form_widget(form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="success button expanded">Update</button>
2022-10-28 08:46:35 -04:00
{{ form_end(form) }}
2018-02-15 09:48:57 -05:00
<hr />
{{ form_start(delete_form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="alert button expanded">Delete</button>
2018-02-15 09:48:57 -05:00
{{ form_end(delete_form) }}
</div>
{% endblock %}