// handle tagging rule
$taggingRule = new TaggingRule();
- $newTaggingRule = $this->createForm(new TaggingRuleType(), $taggingRule);
+ $newTaggingRule = $this->createForm(new TaggingRuleType(), $taggingRule, array('action' => $this->generateUrl('config').'#set5'));
$newTaggingRule->handleRequest($request);
if ($newTaggingRule->isValid()) {
</div>
</div>
- <form action="{{ path('config') }}#set5" method="post" {{ form_enctype(form.new_tagging_rule) }}>
+ {{ form_start(form.new_tagging_rule) }}
{{ form_errors(form.new_tagging_rule) }}
<div class="row">
</div>
{% if is_granted('ROLE_SUPER_ADMIN') %}
- <div id="set5" class="col s12">
+ <div id="set6" class="col s12">
{{ form_start(form.new_user) }}
{{ form_errors(form.new_user) }}