Use stimulus for global reloading

This commit is contained in:
Jan Böhmer 2022-07-24 14:41:28 +02:00
parent 390deca544
commit ea6357c259
4 changed files with 22 additions and 14 deletions

View file

@ -6,10 +6,6 @@
{% trans %}user.settings.label{% endtrans %}{% endblock %}
{% block card_content %}
{% if page_need_reload %}
<script>window.location.href = window.location.href;</script>
{% endif %}
{{ form_start(settings_form) }}
<ul class="nav nav-tabs" id="myTab" role="tablist">