Use task_li template in toolDetail
This commit is contained in:
parent
8be59ecff7
commit
82b1d998c3
@ -10,9 +10,12 @@
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<ul>
|
||||
{% for task in tasks %}
|
||||
<li><a href="{{ task.get_absolute_url }}">{{ task.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<section>
|
||||
<h2>Tasks</h2>
|
||||
<ul>
|
||||
{% for task in tasks %}
|
||||
{% include "./components/task_li.djhtml" with task=task %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user