diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-09 12:29:35 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-09 12:30:10 +0200 |
commit | 01679e4633eac76ce43d9d07dfa57b2548c97cc5 (patch) | |
tree | c5b0a3bb560050bc2125d17bde6b3bf4afd32a33 /t_idea/edit.html | |
parent | cffe6351a9f8e2777b6d4c078c89bd8f215de603 (diff) |
Change CreatedAt to LastUpdated
- The field now changes when the idea is edited.
Diffstat (limited to 't_idea/edit.html')
-rw-r--r-- | t_idea/edit.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t_idea/edit.html b/t_idea/edit.html index 725a111..7af6b0b 100644 --- a/t_idea/edit.html +++ b/t_idea/edit.html @@ -34,7 +34,7 @@ input[name="title"] { <form action="/idea/edit/" method="post"> <input name="title" type="text" value="{{.Title}}"><br> <textarea name="text" rows=6 required>{{.Text}}</textarea> - <p class="creation">by <span class="author">{{.Author}}</span> on <span class="date">{{.CreatedAt}}</span></p> + <p class="creation">by <span class="author">{{.Author}}</span> on <span class="date">{{.LastUpdated}}</span></p> <input type="submit" value="confirm"> </form> <form action="/ideas/" method="get"> |