Fix reply template

This commit is contained in:
r 2019-12-19 15:12:35 +00:00
parent d7fc7cf2f5
commit 6e02be73b5
3 changed files with 5 additions and 7 deletions

View file

@ -7,10 +7,10 @@
{{if eq .ID $.ReplyToID}}
<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
<input type="hidden" name="reply_to_id" value="{{.ReplyToID}}" />
<label for="post-content"> Reply to {{.Status.Account.DisplayName}} </label>
<input type="hidden" name="reply_to_id" value="{{$.ReplyToID}}" />
<label for="post-content"> Reply to {{.Account.DisplayName}} </label>
<br/>
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{.ReplyContent}}</textarea>
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{$.ReplyContent}}</textarea>
<br/>
Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
<br/>