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

26 lines
452 B
Twig

{% extends 'form.html.twig' %}
{% block title %}Add FPU{% endblock %}
{% block form %}
<h2>Add FPU</h2>
<div class="small callout">
<ul>
<li>
<a href="{{ path('fpu_index') }}">Back to the list</a>
</li>
</ul>
</div>
<div class="large primary callout">
{{ form_start(form) }}
{{ form_widget(form) }}
<button
type="submit"
class="success button expanded"
>Add</button>
{{ form_end(form) }}
</div>
{% endblock %}