mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-05 04:29:21 +02:00
17 lines
620 B
Cheetah
17 lines
620 B
Cheetah
|
<form class="post-form" action="/post" method="POST" enctype="multipart/form-data">
|
||
|
{{if .}}
|
||
|
<input type="hidden" name="reply_to_id" value="{{.InReplyToID}}" />
|
||
|
<label for="post-content"> Reply to {{.InReplyToName}} </label>
|
||
|
{{else}}
|
||
|
<label for="post-content"> New post </label>
|
||
|
{{end}}
|
||
|
<div class="post-form-content-container">
|
||
|
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{if .}}{{.ReplyContent}}{{end}}</textarea>
|
||
|
</div>
|
||
|
<div>
|
||
|
Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
|
||
|
</div>
|
||
|
<button type="submit"> Post </button>
|
||
|
</form>
|
||
|
|