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

23 lines
435 B
Twig
Raw Normal View History

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