summaryrefslogtreecommitdiff
path: root/view/timer.templ
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-08 23:23:23 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-08 23:23:23 +0200
commitc60dd3357fc84e14795f5f864e9fa9ce7150179f (patch)
treee642f70b89674b0f4ef88986a98001f8be8e24db /view/timer.templ
parent01e96380a4e48b5d338c71fad690382124195b17 (diff)
Some work
Diffstat (limited to 'view/timer.templ')
-rw-r--r--view/timer.templ10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/timer.templ b/view/timer.templ
new file mode 100644
index 0000000..18f0a7b
--- /dev/null
+++ b/view/timer.templ
@@ -0,0 +1,10 @@
+package view
+
+import (
+ "stevenlr.com/timer/model"
+)
+
+templ TimerView(timer model.Timer) {
+ <h1>This is timer { timer.Name }</h1>
+ <a href="/">Back to list</a>
+}