mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
Clean the tagging rule creation form
This commit is contained in:
parent
69edb774eb
commit
c13eda461f
@ -102,7 +102,7 @@ class ConfigController extends Controller
|
|||||||
|
|
||||||
// handle tagging rule
|
// handle tagging rule
|
||||||
$taggingRule = new TaggingRule();
|
$taggingRule = new TaggingRule();
|
||||||
$newTaggingRule = $this->createForm(new TaggingRuleType(), $taggingRule);
|
$newTaggingRule = $this->createForm(new TaggingRuleType(), $taggingRule, array('action' => $this->generateUrl('config').'#set5'));
|
||||||
$newTaggingRule->handleRequest($request);
|
$newTaggingRule->handleRequest($request);
|
||||||
|
|
||||||
if ($newTaggingRule->isValid()) {
|
if ($newTaggingRule->isValid()) {
|
||||||
|
@ -200,7 +200,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</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) }}
|
{{ form_errors(form.new_tagging_rule) }}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -332,7 +332,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||||
<div id="set5" class="col s12">
|
<div id="set6" class="col s12">
|
||||||
{{ form_start(form.new_user) }}
|
{{ form_start(form.new_user) }}
|
||||||
{{ form_errors(form.new_user) }}
|
{{ form_errors(form.new_user) }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user