aboutsummaryrefslogtreecommitdiff
path: root/t_idea/edit.html
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-06 00:10:44 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-06 01:02:08 +0200
commitcffe6351a9f8e2777b6d4c078c89bd8f215de603 (patch)
tree132b7b9be16bd53d4baa017c1eabecfaa34e5c98 /t_idea/edit.html
parent08d3d9aab4845b863d868ca0e43e21c9f7f54203 (diff)
Fixed edit function not working because js bs
Because for loop would declare a global variable, the closures would use the el of previous scope.
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 8a7885c..725a111 100644
--- a/t_idea/edit.html
+++ b/t_idea/edit.html
@@ -33,7 +33,7 @@ input[name="title"] {
<div class="idea">
<form action="/idea/edit/" method="post">
<input name="title" type="text" value="{{.Title}}"><br>
- <textarea name="text" rows=4 required>{{.Text}}</textarea>
+ <textarea name="text" rows=6 required>{{.Text}}</textarea>
<p class="creation">by <span class="author">{{.Author}}</span> on <span class="date">{{.CreatedAt}}</span></p>
<input type="submit" value="confirm">
</form>