saufen/templates/system_config/_reset_form.html.twig
2025-06-14 20:21:36 +02:00

4 lines
330 B
Twig

<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>