1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-07-06 07:23:54 +02:00

Disable turbolinks for pages that require custom JS, like calendars or autocomplete fields

This commit is contained in:
Yohann D'ANELLO
2020-08-09 15:31:38 +02:00
parent 11fbbca2a8
commit 49bda926c6
12 changed files with 25 additions and 21 deletions

View File

@ -125,7 +125,7 @@
</dl>
</div>
<div class="card-footer text-center">
<a class="btn btn-primary btn-sm" href="{% url 'wei:wei_update_registration' registration.pk %}">{% trans 'Update registration' %}</a>
<a class="btn btn-primary btn-sm" href="{% url 'wei:wei_update_registration' registration.pk %}" data-turbolinks="false">{% trans 'Update registration' %}</a>
{% if "auth.change_user"|has_perm:registration.user %}
<a class="btn btn-primary btn-sm" href="{% url 'member:user_update_profile' registration.user.pk %}">{% trans 'Update Profile' %}</a>
{% endif %}