diff --git a/python/nav/web/templates/webfront/preferences.html b/python/nav/web/templates/webfront/preferences.html index 9082f8e04e..ca78a28133 100644 --- a/python/nav/web/templates/webfront/preferences.html +++ b/python/nav/web/templates/webfront/preferences.html @@ -91,7 +91,11 @@
'My stuff' quick links

A quick link requires both link text and URL.

- {% crispy navbar_formset navbar_formset.form.helper %} + {% if navbar_formset.form.attrs %} + {% include 'custom_crispy_templates/_form_content.html' with form=navbar_formset.form %} + {% else %} + {{ navbar_formset.form }} + {% endif %}