2021-01-29 16:51:36 +00:00
{% extends 'components/card.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2021-01-16 22:48:17 +00:00
{% block card-header %}
< h3 class = "card-header-title has-background-primary has-text-white" >
2021-02-28 18:09:56 +00:00
< span class = "icon icon-book is-size-3 mr-2" aria-hidden = "true" > < / span > {% blocktrans %}{{ year }} Reading Goal{% endblocktrans %}
2021-01-16 22:48:17 +00:00
< / h3 >
{% endblock %}
{% block card-content %}
{% include 'snippets/goal_form.html' %}
< / div >
{% endblock %}
{% block card-footer %}
2021-03-18 16:00:25 +00:00
< form class = "card-footer-item is-flex-direction-column" method = "post" action = "{% url 'hide-goal' %}" >
{% csrf_token %}
< button type = "submit" class = "button is-danger is-light is-block set-display" > {% trans "Dismiss message" %}< / button >
2021-02-28 02:48:10 +00:00
< p class = "help" > {% blocktrans with path=request.user.local_path %}You can set or change your reading goal any time from your < a href = "{{ path }}" > profile page< / a > {% endblocktrans %}< / p >
2021-03-18 16:00:25 +00:00
< / form >
2021-01-16 22:48:17 +00:00
{% endblock %}