Use task_li template in toolDetail
This commit is contained in:
parent
8be59ecff7
commit
82b1d998c3
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user