Fix wrong variable use

This commit is contained in:
Kumi 2020-12-29 19:25:05 +01:00
parent 64a757b2de
commit 6230523f29

View file

@ -27,7 +27,7 @@
<option value="" {% if not object.mood %}selected{% endif %}>---------</option>
{% for mood in request.user.mood_set.all|dictsort:"value" %}
<option data-icon="{{ mood.icon }}" value="{{ mood.value }}" {% if object.mood == mood %}selected{% endif %}>{{ mood }}</option>
<option data-icon="{{ mood.icon }}" value="{{ mood.id }}" {% if object.mood == mood %}selected{% endif %}>{{ mood }}</option>
{% endfor %}
</select></td></tr>