s1llyw0rdz/web/handler/html/create_status.html

15 lines
373 B
HTML
Raw Normal View History

2021-11-22 13:00:19 +00:00
{{ define "content" }}
<h1>New status</h1>
{{ if .form.Error }}
<p>{{ .form.Error }}</p>
{{ end }}
{{ if .flash }}
<p>{{ .flash }}</p>
{{ end }}
<form action="/statuses/save" method="post">
<div class="field">
<input type="text" name="content" placeholder="What's new?" required autofocus />
</div>
<input type="submit" value="Submit">
</form>
{{ end }}