Remove ‘/‘ from inside variable block {{ }}

manage.py compress —force causes a warning here.
This commit is contained in:
Andrew Seier 2014-12-23 12:12:22 -08:00
parent 399cb165b0
commit 35768344db

View File

@ -5,7 +5,7 @@
{% for key, text in field.choices.items %} {% for key, text in field.choices.items %}
<div class="checkbox"> <div class="checkbox">
<label> <label>
<input type="checkbox" name="{{ rest_framework/field.name }}" value="{{ key }}" {% if key in field.value %}checked{% endif %}> <input type="checkbox" name="{{ field.name }}" value="{{ key }}" {% if key in field.value %}checked{% endif %}>
{{ text }} {{ text }}
</label> </label>
</div> </div>