Fix wrong variable use
This commit is contained in:
parent
64a757b2de
commit
6230523f29
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue