diff --git a/django_starfield/templates/django_starfield/stars.html b/django_starfield/templates/django_starfield/stars.html index f7ce3470078a7757237861f8a2dc63353fde5acd..7df4cd366cd0f27eaff93c1a14dc2059b7010a0f 100644 --- a/django_starfield/templates/django_starfield/stars.html +++ b/django_starfield/templates/django_starfield/stars.html @@ -1,10 +1,10 @@ {% load static %} <div class="django-starfield" id="django-starfield-{{ widget.name }}"> - {% for i in stars %}<!-- - --><input type="radio" name="{{ widget.name }}" id="{{ widget.name }}-{{ forloop.counter0 }}" - value="{{ i }}" {% if widget.value == i %}checked="checked"{% endif %} /><!-- - --><label for="{{ widget.name }}-{{ forloop.counter0 }}"><span>{{ i }}</span></label><!-- - -->{% endfor %} + {% for i in stars %} + <input type="radio" name="{{ widget.name }}" id="{{ widget.name }}-{{ forloop.counter0 }}" + value="{{ i }}" {% if widget.value == i %}checked="checked"{% endif %} /> + <label for="{{ widget.name }}-{{ forloop.counter0 }}"><span>{{ i }}</span></label> + {% endfor %} </div> <link rel="stylesheet" href="{% static 'django_starfield.css' %}" /> {% if codepoint %}