collection-crud/app/Resources/views/flash/edit.html.twig

27 lines
606 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block form %}
<h1>Flash edit</h1>
<div class="callout">
<ul>
<li>
<a href="{{ path('flash_index') }}">Back to the list</a>
</li>
</ul>
</div>
<div class="primary callout">
{{ form_start(edit_form) }}
{{ form_widget(edit_form) }}
<button type="submit" class="button">Update</button>
{{ form_end(edit_form) }}
<hr />
{{ form_start(delete_form) }}
<button type="submit" class="alert button">Delete Flash</button>
{{ form_end(delete_form) }}
</div>
{% endblock %}