2021-12-02 20:41:17 +00:00
|
|
|
{{ define "status_form" }}
|
2021-12-04 15:22:30 +00:00
|
|
|
<div class="faces">
|
2021-12-03 05:52:34 +00:00
|
|
|
{{ range $i, $v := faces }}
|
|
|
|
|
<div class="radio">
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
id="face{{ $i }}"
|
|
|
|
|
name="face"
|
|
|
|
|
value="{{ $v }}"
|
|
|
|
|
{{ if eq $i 0 }}
|
|
|
|
|
{{ if or (eq $.Face $v) (eq $.Face "") }}checked{{ end }}
|
|
|
|
|
{{ else }}
|
|
|
|
|
{{ if eq $.Face $v }}checked{{ end }}
|
|
|
|
|
{{ end }}>
|
|
|
|
|
<label for="face{{ $i }}">{{ $v }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
{{ end }}
|
2021-12-02 20:41:17 +00:00
|
|
|
</div>
|
2025-11-20 00:12:26 +00:00
|
|
|
<div class="number">
|
|
|
|
|
What's your current word count?
|
2025-11-20 02:18:07 +00:00
|
|
|
<input type="number"
|
|
|
|
|
name="number"
|
|
|
|
|
min="1"
|
|
|
|
|
max="1000000000"
|
|
|
|
|
value="{{ .Number }}"
|
|
|
|
|
required><br>What do you want to say about your project? (Optional)<br><div class="field"> <textarea class="edit-status" name="content" maxlength="140"
|
|
|
|
|
placeholder="What project are you working on?" autofocus>{{ .Content }}</textarea>
|
|
|
|
|
|
2021-12-02 20:41:17 +00:00
|
|
|
</div>
|
|
|
|
|
<input type="submit" value="Submit">
|
2021-12-26 17:42:49 +00:00
|
|
|
{{ end }}
|