Skip to content
Snippets Groups Projects
Verified Commit fa6a1d85 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix number display fallback.

parent c217bc7e
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,11 @@
font-size: 18px;
cursor: pointer;
}
.django-starfield label span
{
display: none;
}
.django-starfield input:checked ~ label
{
......
......@@ -3,12 +3,12 @@
{% 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 }}">{{ i }}</label><!--
--><label for="{{ widget.name }}-{{ forloop.counter0 }}"><span>{{ i }}</span></label><!--
-->{% endfor %}
</div>
<link rel="stylesheet" href="{% static 'django_starfield.css' %}" />
<style type="text/css">
#django-starfield-{{ widget.name }} label {
#django-starfield-{{ widget.name }} label:before {
content: '\{{ codepoint }}';
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment