I created a mailform in Symfony2 framework which works but when i add the twig extend method it doesn't work.
I got stuck here so hopefully you can help me!
The form works with the following twig code:
{% block content %}
{{form(form)}}
{% endblock %}
But it doesn't work with the following twig code:
{% extends 'TMCBundle::layout.html.twig' %}
{% block content %}
{{form(form)}}
{% endblock %}
EDIT: Sorry, i forgot to tell: the submit button won't work, so the form action is not triggered.