Initial commit with cru (no delete) of notes

This commit is contained in:
Maximilian Friedersdorff 2025-01-26 22:23:42 +00:00
commit 1e1174f9ca
11 changed files with 244 additions and 0 deletions

6
templates/edit.html Normal file
View file

@ -0,0 +1,6 @@
<h1>Editing {{.Title}}</h1>
<form action="save/" method="POST">
<textarea name="body">{{printf "%s" .Body}}</textarea>
<input type="submit" value="Save">
</form>

3
templates/view.html Normal file
View file

@ -0,0 +1,3 @@
<h1>{{.Title}}</h1>
<div>{{printf "%s" .BodyRendered}}</div>