Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Load delete account dialog via modal dialog

Roland Geider8f416cbe5c4b
diff --git a/wger/core/templates/user/preferences.html b/wger/core/templates/user/preferences.html
index 00b66a2d7..f4c81609d 100644
--- a/wger/core/templates/user/preferences.html
+++ b/wger/core/templates/user/preferences.html
@@ -135,7 +135,7 @@ $(function() {
</p>
<p style="margin-top: 2em;">
- <a href="{% url 'core:user-delete' %}" {% auto_link_css flavour %}>
+ <a href="{% url 'core:user-delete' %}" {% auto_link_css flavour "wger-modal-dialog" %}>
<img src="{% static 'images/icons/trash.svg' %}"
width="32"
height="32"