Use inline form component for goal form on goal page

This commit is contained in:
Mouse Reeve
2021-09-29 09:39:23 -07:00
parent 5f3df11e56
commit 6e05fb6dd0
4 changed files with 16 additions and 19 deletions

View File

@@ -0,0 +1,12 @@
{% extends 'components/inline_form.html' %}
{% load i18n %}
{% block header %}
<span class="icon icon-book is-size-3 mr-2" aria-hidden="true"></span>
{% blocktrans %}{{ year }} Reading Goal{% endblocktrans %}
{% endblock %}
{% block form %}
{% include "snippets/goal_form.html" %}
{% endblock %}