forked from mirrors/bookwyrm
Fixes markup syntax errors
This commit is contained in:
parent
6e05fb6dd0
commit
a1eaae1d5e
2 changed files with 27 additions and 27 deletions
|
@ -8,8 +8,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block card-content %}
|
{% block card-content %}
|
||||||
{% include 'snippets/goal_form.html' %}
|
{% include 'snippets/goal_form.html' %}
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block card-footer %}
|
{% block card-footer %}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>{% blocktrans %}Set a goal for how many books you'll finish reading in {{ year }}, and track your progress throughout the year.{% endblocktrans %}</p>
|
<p>{% blocktrans %}Set a goal for how many books you'll finish reading in {{ year }}, and track your progress throughout the year.{% endblocktrans %}</p>
|
||||||
|
|
||||||
<form method="post" name="goal" action="{% url 'user-goal' request.user.localname year %}">
|
<form method="post" name="goal" action="{% url 'user-goal' request.user.localname year %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="hidden" name="year" value="{% if goal %}{{ goal.year }}{% else %}{{ year }}{% endif %}">
|
<input type="hidden" name="year" value="{% if goal %}{{ goal.year }}{% else %}{{ year }}{% endif %}">
|
||||||
<input type="hidden" name="user" value="{{ request.user.id }}">
|
<input type="hidden" name="user" value="{{ request.user.id }}">
|
||||||
|
@ -32,4 +32,5 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<button type="submit" class="button is-link">{% trans "Set goal" %}</button>
|
<button type="submit" class="button is-link">{% trans "Set goal" %}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue