diff options
Diffstat (limited to 'view/timer.templ')
-rw-r--r-- | view/timer.templ | 10 |
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>
+}
|