Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

The edit form for an ingredient is too long, don't open it in a modal dialog

Roland Geider6f1f6b41e2f2
diff --git a/nutrition/templates/view_ingredient.html b/nutrition/templates/view_ingredient.html
index dcbc68d33..a4ee99728 100644
--- a/nutrition/templates/view_ingredient.html
+++ b/nutrition/templates/view_ingredient.html
@@ -101,8 +101,7 @@ $(document).ready(function() {
<p>
<a href="{% url nutrition.views.ingredient_edit ingredient.id %}"
- title="{% trans 'Edit ingredient' %}"
- class="modal-dialog">
+ title="{% trans 'Edit ingredient' %}">
<img src="{% static 'images/icons/edit.svg' %}"
width="32"
height="32"