Initial commit with cru (no delete) of notes
This commit is contained in:
commit
1e1174f9ca
11 changed files with 244 additions and 0 deletions
6
templates/edit.html
Normal file
6
templates/edit.html
Normal 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
3
templates/view.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<h1>{{.Title}}</h1>
|
||||
|
||||
<div>{{printf "%s" .BodyRendered}}</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue