summaryrefslogtreecommitdiff
path: root/view/timer.templ
diff options
context:
space:
mode:
Diffstat (limited to 'view/timer.templ')
-rw-r--r--view/timer.templ6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/timer.templ b/view/timer.templ
index 18f0a7b..fa258eb 100644
--- a/view/timer.templ
+++ b/view/timer.templ
@@ -5,6 +5,8 @@ import (
)
templ TimerView(timer model.Timer) {
- <h1>This is timer { timer.Name }</h1>
- <a href="/">Back to list</a>
+ <h1>This is timer { timer.Name } </h1>
+ <p><a href="/">Back to list</a></p>
+ <p>Start time: { timer.StartTime.String() }</p>
+ <p>End time: { timer.EndTime.String() }</p>
}