date-poll-sf5/templates/poll/new.html.twig

12 lines
234 B
Twig

{% extends 'base.html.twig' %}
{% block title %}New Poll{% endblock %}
{% block body %}
<h1>Create new Poll</h1>
{{ include('poll/_form.html.twig') }}
<a href="{{ path('poll_index') }}">back to list</a>
{% endblock %}