I create a form in my controller without entity like following:
$defaultData = array('message' => 'Assign');
$form_assign = $this->createFormBuilder($defaultData)
->add('team', 'text', array('label' => 'Team'))
->add('create', 'button', array('label' => 'Create'))
->getForm();
Now when i render the form in my view with
{{ form(form_assign) }}
The name of the form is allways "form", like this:
<form name="form" method="post" action>
How do i change the name-attribute of the form? I work with Symfony version 2.4.2
(i have read this comment on a similar question and tried it out, but it didnt worked for me.)