aboutsummaryrefslogtreecommitdiff
path: root/t_idea/edit.html
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-09 12:29:35 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-09 12:30:10 +0200
commit01679e4633eac76ce43d9d07dfa57b2548c97cc5 (patch)
treec5b0a3bb560050bc2125d17bde6b3bf4afd32a33 /t_idea/edit.html
parentcffe6351a9f8e2777b6d4c078c89bd8f215de603 (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.html2
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">