added field editors

This commit is contained in:
Egor Matveev
2022-01-20 16:30:15 +03:00
parent aee08c937a
commit 7bbdc0956f
5 changed files with 26 additions and 22 deletions

View File

@@ -29,7 +29,7 @@
<div class="col-12">
{% csrf_token %}
<input type="hidden" name="action" value="edit">
{% for task in tasks %}
{% for task in user.userinfo.available_tasks %}
<input type="checkbox" {% if task in set.tasks %}checked{% endif %} name="task_{{ task.id }}"> <a href="/task?task_id={{ task.id }}">{{ task.name }}</a><br>
{% endfor %}
</div>