configstuff
This commit is contained in:
parent
ca0e7d300d
commit
c3411e5754
12 changed files with 243 additions and 121 deletions
4
templates/system_config/_reset_form.html.twig
Normal file
4
templates/system_config/_reset_form.html.twig
Normal file
|
@ -0,0 +1,4 @@
|
|||
<form method="post" action="{{ path('app_system_config_reset', {'id': system_config.id}) }}" onsubmit="return confirm('Are you sure you want to reset this setting to its default value?');">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token('reset' ~ system_config.id) }}">
|
||||
<button class="btn">Reset</button>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue