all repos — flounder @ dd6e1705334fab5e4e108c3b6b73f109f707cbe2

A small site builder for the Gemini protocol

templates/edit_file.html (view raw)

1{{template "header" .}}
2<h2>Editing {{.FileName}}</h2>
3<form id="edit-form" action="/edit/{{.FileName}}" method="POST">
4  <textarea rows="20" name="file_text" id="editor">{{.FileText}}</textarea>
5  <br>
6  <input type="submit" value="Save file" class="button">
7</form>
8{{template "footer" .}}