diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-03-23 19:01:29 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-03-23 19:10:43 +0000 |
commit | 0a5471217b9f562b92f32802de4260390f639880 (patch) | |
tree | daf0655fe2753351d7fac9010e3b50c499194bb2 /views/edit.tpl | |
download | personal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.tar.gz personal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.zip |
Initial import
Diffstat (limited to 'views/edit.tpl')
-rw-r--r-- | views/edit.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/views/edit.tpl b/views/edit.tpl new file mode 100644 index 0000000..5e0f35b --- /dev/null +++ b/views/edit.tpl @@ -0,0 +1,10 @@ +% include('header.tpl', title=f"Edit {page.name}") + + <form action="/edit/{{page.name}}" method="post"> + <textarea name="content" rows="20" required>{{page.content}}</textarea> + <label for="changelog">Changelog (optional)</label> <input class="changelog" name="changelog" type="text" value=""> + <input value="Save" type="submit"> + <p>Or <a href="/{{page.name}}">Cancel</a></p> + </form> + +% include('footer.tpl') |