Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Pass correct CSS class to drop down box

Roland Geidera6ed6dfc352d
diff --git a/nutrition/templates/edit_meal_item.html b/nutrition/templates/edit_meal_item.html
index a5d50ced2..9ecc7ba34 100644
--- a/nutrition/templates/edit_meal_item.html
+++ b/nutrition/templates/edit_meal_item.html
@@ -17,7 +17,7 @@
<table>
{% include "form_snippet.html" with field=form.amount_gramm %}
{% include "form_snippet.html" with field=form.amount_freetext %}
- {% include "form_snippet.html" with field=form.ingredient %}
+ {% include "form_snippet.html" with field=form.ingredient css_class="ym-fbox-select" %}
{% include "form_snippet.html" with field=form.ingredient_freetext %}
<tr>
<td><input type="submit" value="{% trans "Save" %}" /></td>