"confirmed" button in template

master
Marek Baczynski 7 years ago
parent ecf2c9aadd
commit fcb9d067bf

@ -41,6 +41,12 @@
{% else %} {% else %}
<div class="rect-button" style="background-color: #8faf38"><span>CONFIRMED</span></div> <div class="rect-button" style="background-color: #8faf38"><span>CONFIRMED</span></div>
{% endif %} {% endif %}
{% else %}
{% if cook.confirmed == "no" %}
<div class="rect-button" onclick="confirm()"><span></span></div>
{% else %}
<div class="rect-button" style="background-color: #8faf38"><span>CONFIRMED</span></div>
{% endif %}
{% endif %} {% endif %}
</div> </div>
<h2>Eaters</h2> <h2>Eaters</h2>

Loading…
Cancel
Save