From 07ace53ba2423f1b7e62477549ba62a30e79ff47 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 29 Sep 2024 13:10:56 +0200 Subject: Added edit functionality Added a new edit functionality and page with styling. Other minor changes: - Added assets folder served under /static/ - Created a new template edit.html - grouped ideas.html and edit.html under t_idea - Changed router to use mux and organized routes - Added more checks on empty titles - Added javascript to t_idea/index.html for intuitive button functionality --- t_idea/edit.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 t_idea/edit.html (limited to 't_idea/edit.html') diff --git a/t_idea/edit.html b/t_idea/edit.html new file mode 100644 index 0000000..cae7bd2 --- /dev/null +++ b/t_idea/edit.html @@ -0,0 +1,38 @@ + + + + + + + Editing "{{.Title}}" + + + +

Editing "{{.Title}}"

+
+
+
+
+ +

by {{.Author}} on {{.CreatedAt}}

+ +
+
+ +
+
+ + -- cgit v1.2.3