aboutsummaryrefslogtreecommitdiff
path: root/templates/tasks.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tasks.html')
-rw-r--r--templates/tasks.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/tasks.html b/templates/tasks.html
new file mode 100644
index 0000000..2432aad
--- /dev/null
+++ b/templates/tasks.html
@@ -0,0 +1,11 @@
+{% for task in to_do %}
+<div class="relative flex items-start">
+ <div class="flex h-6 items-center">
+ <input id="comments" aria-describedby="comments-description" name="comments" type="checkbox" class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600">
+ </div>
+ <div class="ml-3 text-sm leading-6">
+ <label for="comments" class="font-medium text-gray-900">Task {{loop.index}}</label>
+ <p id="comments-description" class="text-gray-500">{{task}}</p>
+ </div>
+ </div>
+{% endfor %} \ No newline at end of file