Use task_li template in toolDetail

This commit is contained in:
Adam Goldsmith 2021-05-20 18:20:04 -04:00
parent 8be59ecff7
commit 82b1d998c3

View File

@ -10,9 +10,12 @@
</ol> </ol>
</nav> </nav>
<ul> <section>
{% for task in tasks %} <h2>Tasks</h2>
<li><a href="{{ task.get_absolute_url }}">{{ task.name }}</a></li> <ul>
{% endfor %} {% for task in tasks %}
</ul> {% include "./components/task_li.djhtml" with task=task %}
{% endfor %}
</ul>
</section>
{% endblock %} {% endblock %}