Disable turbo on login/logout forms, so page is fully reloaded.

This commit is contained in:
Jan Böhmer 2022-07-24 16:03:07 +02:00
parent 0b31a3b095
commit 1a9dfee0ed
12 changed files with 19 additions and 19 deletions

View file

@ -45,11 +45,11 @@
{% if attach.secure and not is_granted('show_private', attach) %}
{# Leave blank #}
{% elseif attach.picture %}
<a href="{{ attach | entityURL('file_view') }}" target="_blank" rel="noopener" data-no-ajax>
<a href="{{ attach | entityURL('file_view') }}" target="_blank" rel="noopener" data-turbo="false">
<img class="img-fluid img-thumbnail thumbnail-sm" src="{{ attachment_thumbnail(attach, 'thumbnail_md') }}" alt="{% trans %}attachment.preview.alt{% endtrans %}" />
</a>
{% else %}
<a href="{{ attach | entityURL('file_view') }}" rel="noopener" target="_blank" data-no-ajax class="link-external">{% trans %}attachment.view{% endtrans %}</a>
<a href="{{ attach | entityURL('file_view') }}" rel="noopener" target="_blank" data-turbo="false" class="link-external">{% trans %}attachment.view{% endtrans %}</a>
{% endif %}
{% else %}
<br><br>

View file

@ -1,4 +1,4 @@
<form class="form-horizontal" data-no-ajax method="post" action="{{ path }}">
<form class="form-horizontal" data-turbo="false" method="post" action="{{ path }}">
<div class="form-row">
<label class="col-form-label col-md-3">{% trans %}export.format{% endtrans %}</label>