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
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{% for key, text in field.choices.items %}
<div class="checkbox">
<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 }}
</label>
</div>