diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index 79dd4b85e..9b69efea7 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -98,24 +98,7 @@ {% if not goal and tab == 'home' %} {% now 'Y' as year %} {% endif %} diff --git a/bookwyrm/templates/snippets/goal_card.html b/bookwyrm/templates/snippets/goal_card.html new file mode 100644 index 000000000..b453d6e4e --- /dev/null +++ b/bookwyrm/templates/snippets/goal_card.html @@ -0,0 +1,23 @@ +{% extends 'snippets/components/card.html' %} + +{% block card-header %} +

+ {{ year }} reading goal +

+{% endblock %} + + +{% block card-content %} +
+

Set a goal for how many books you'll finish reading in {{ year }}, and track your progress throughout the year.

+ + {% include 'snippets/goal_form.html' %} +
+{% endblock %} + +{% block card-footer %} + +{% endblock %}