aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index de1536c9..7a187710 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -102,7 +102,7 @@ class ConfigController extends Controller
102 102
103 // handle tagging rule 103 // handle tagging rule
104 $taggingRule = new TaggingRule(); 104 $taggingRule = new TaggingRule();
105 $newTaggingRule = $this->createForm(new TaggingRuleType(), $taggingRule); 105 $newTaggingRule = $this->createForm(new TaggingRuleType(), $taggingRule, array('action' => $this->generateUrl('config').'#set5'));
106 $newTaggingRule->handleRequest($request); 106 $newTaggingRule->handleRequest($request);
107 107
108 if ($newTaggingRule->isValid()) { 108 if ($newTaggingRule->isValid()) {
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
index e08393a2..d060311d 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
@@ -200,7 +200,7 @@
200 </div> 200 </div>
201 </div> 201 </div>
202 202
203 <form action="{{ path('config') }}#set5" method="post" {{ form_enctype(form.new_tagging_rule) }}> 203 {{ form_start(form.new_tagging_rule) }}
204 {{ form_errors(form.new_tagging_rule) }} 204 {{ form_errors(form.new_tagging_rule) }}
205 205
206 <div class="row"> 206 <div class="row">
@@ -332,7 +332,7 @@
332 </div> 332 </div>
333 333
334 {% if is_granted('ROLE_SUPER_ADMIN') %} 334 {% if is_granted('ROLE_SUPER_ADMIN') %}
335 <div id="set5" class="col s12"> 335 <div id="set6" class="col s12">
336 {{ form_start(form.new_user) }} 336 {{ form_start(form.new_user) }}
337 {{ form_errors(form.new_user) }} 337 {{ form_errors(form.new_user) }}
338 338