fixed "add me" on meal view page
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
<span class="username">{{ eater }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% if not current_user.name in eaters and current_user.name != meal.kuk %}
|
||||
{% if not current_user.name in meal.eaters and current_user.name != meal.kuk %}
|
||||
<div class="flex-card" style="background: none; box-shadow: none">
|
||||
<div class="round-button" onclick="location.href='/addme?meal={{meal.id}}';"><i class="fa fa-plus" aria-hidden="true"></i></div>
|
||||
<span>Add me</span>
|
||||
|
||||
Reference in New Issue
Block a user