all repos — flounder @ a8a98dc62ceebfb9d27bc574e419066bb6f5cf16

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