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

27 lines
469 B
Twig
Raw Normal View History

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