Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Render add meal button the same as in workout page

Roland Geiderad19f25e7157
diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.html
index 9b4d6fb80..f7e930eab 100644
--- a/wger/nutrition/templates/plan/view.html
+++ b/wger/nutrition/templates/plan/view.html
@@ -139,10 +139,9 @@ function wgerCustomModalInit()
{% endfor %}
{% if is_owner %}
<tr>
- <td colspan="6">
+ <td colspan="6" class="py-0">
<a href="{% url 'nutrition:meal:add' plan.id %}"
- class="wger-modal-dialog">
- <span class="{% fa_class 'plus' %}"></span>
+ class="wger-modal-dialog btn btn-link btn-block">
{% trans "Add a new meal" %}
</a>
</td>