Skip to content

Commit

Permalink
Uncrispify quick links in preferences html template
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Oct 8, 2024
1 parent bebb4b5 commit 1e494ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/nav/web/templates/webfront/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@
<fieldset>
<legend>'My stuff' quick links</legend>
<p>A quick link requires both link text and URL.</p>
{% 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 %}
<input type="submit" class="button primary small" name="submit" value="Save changes" />
</fieldset>

Expand Down

0 comments on commit 1e494ca

Please sign in to comment.