diff --git a/fedireads/static/format.css b/fedireads/static/format.css
index b0359799..bc6416ec 100644
--- a/fedireads/static/format.css
+++ b/fedireads/static/format.css
@@ -333,9 +333,6 @@ button .icon {
margin: 0;
color: black;
}
-.rate-stars form > .icon:before {
- content: '\e9d7';
-}
.rate-stars:hover .icon:before {
content: '\e9d9';
}
diff --git a/fedireads/templates/snippets/shelf.html b/fedireads/templates/snippets/shelf.html
index 2171efb2..e6044cb6 100644
--- a/fedireads/templates/snippets/shelf.html
+++ b/fedireads/templates/snippets/shelf.html
@@ -49,7 +49,7 @@
{% if ratings %}
- {{ ratings | dict_key:book.id | stars}}
+ {% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %}
|
{% endif %}
diff --git a/fedireads/templates/snippets/stars.html b/fedireads/templates/snippets/stars.html
index 118ced60..c658d3ff 100644
--- a/fedireads/templates/snippets/stars.html
+++ b/fedireads/templates/snippets/stars.html
@@ -1,7 +1,7 @@
Leave a rating
{% for i in '12345'|make_list %}
-
+
{{ forloop.counter }} star{{ forloop.counter | pluralize }}
{% endfor %}
diff --git a/fedireads/templates/snippets/status_content.html b/fedireads/templates/snippets/status_content.html
index 4d4a1c61..f31f89d5 100644
--- a/fedireads/templates/snippets/status_content.html
+++ b/fedireads/templates/snippets/status_content.html
@@ -34,7 +34,7 @@
{% if status.status_type == 'Review' %}
{{ status.name }}
- {{ status.rating | stars }}
+ {% include 'snippets/stars.html' with rating=status.rating %}
{% endif %}
diff --git a/fedireads/templates/snippets/status_header.html b/fedireads/templates/snippets/status_header.html
index c26650bc..6efd0a57 100644
--- a/fedireads/templates/snippets/status_header.html
+++ b/fedireads/templates/snippets/status_header.html
@@ -8,9 +8,9 @@
{% elif status.status_type == 'Review' and not status.name and not status.content%}
rated {{ status.book.title }}
{% elif status.status_type == 'Review' %}
- reviewed {{ status.book.title }}
+ reviewed {{ status.book.title }}
{% elif status.status_type == 'Comment' %}
- commented on {{ status.book.title }}
+ commented on {{ status.book.title }}
{% elif status.status_type == 'Boost' %}
boosted
{% elif status.reply_parent %}
diff --git a/fedireads/view_actions.py b/fedireads/view_actions.py
index ae095763..f505288d 100644
--- a/fedireads/view_actions.py
+++ b/fedireads/view_actions.py
@@ -192,7 +192,6 @@ def rate(request):
form = forms.RatingForm(request.POST)
book_identifier = request.POST.get('book')
# TODO: better failure behavior
- import pdb;pdb.set_trace()
if not form.is_valid():
return redirect('/book/%s' % book_identifier)