wiki/templates/edit.html

20 lines
571 B
HTML

{{define "content"}}
<h1 class="title">{{ .Title }}</h1>
<form action="/save/" method="post">
<input type="hidden" name="p" value="{{ .Name }}" />
<textarea name="content" rows="24" style="width:100%">{{ .Content }}</textarea>
<br>
<div class="field">
<label class="label">Summary</label>
<div class="control">
<input type="text" name="summary" class="input" placeholder="Summary"/>
</div>
</div>
<button class="button is-primary" type="submit">Save</button>
</form>
{{ end }}
{{ define "content_head" }}
{{ end }}