aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authorAndrew Seier2014-12-23 12:12:22 -0800
committerAndrew Seier2014-12-23 12:12:22 -0800
commit35768344db45b9fa6bd94c3fd48d5e232027434e (patch)
tree126bfd16c46b6c2856c965ed5c53a40fd7cf9388 /rest_framework/templates
parent399cb165b0ba26df6052c114eb77961dc578e686 (diff)
downloaddjango-rest-framework-35768344db45b9fa6bd94c3fd48d5e232027434e.tar.bz2
Remove ‘/‘ from inside variable block {{ }}
manage.py compress —force causes a warning here.
Diffstat (limited to 'rest_framework/templates')
-rw-r--r--rest_framework/templates/rest_framework/inline/checkbox_multiple.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/templates/rest_framework/inline/checkbox_multiple.html b/rest_framework/templates/rest_framework/inline/checkbox_multiple.html
index 6caf6440..09349686 100644
--- a/rest_framework/templates/rest_framework/inline/checkbox_multiple.html
+++ b/rest_framework/templates/rest_framework/inline/checkbox_multiple.html
@@ -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>