all repos — flounder @ 3341469aa1b6cea92fc842b606343e1d8d996687

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" .}}