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

14 lines
307 B
Twig
Raw Permalink Normal View History

2021-04-08 16:41:54 +02:00
{% extends 'base.html.twig' %}
{% block title %}Edit Poll{% endblock %}
{% block body %}
<h1>Edit Poll</h1>
{{ include('poll/_form.html.twig', {'button_label': 'Update'}) }}
<a href="{{ path('poll_index') }}">back to list</a>
{{ include('poll/_delete_form.html.twig') }}
{% endblock %}