2018-12-28 11:13:06 +00:00
|
|
|
<div class="rowblock topic_reply_container">
|
2020-04-05 03:18:36 +00:00
|
|
|
<div class="userinfo"aria-label="{{lang "topic.your_information"}}">
|
2020-03-22 02:37:32 +00:00
|
|
|
<img class="aitem"src="{{.CurrentUser.Avatar}}"alt="Avatar">
|
2018-12-28 11:13:06 +00:00
|
|
|
<div class="user_meta">
|
2020-04-05 03:18:36 +00:00
|
|
|
<a href="{{.CurrentUser.Link}}"class="the_name"rel="author">{{.CurrentUser.Name}}</a>
|
2019-10-27 23:13:24 +00:00
|
|
|
<div class="tag_block">
|
|
|
|
<div class="tag_pre"></div>
|
|
|
|
{{if .CurrentUser.Tag}}<div class="post_tag">{{.CurrentUser.Tag}}</div>{{else}}<div class="post_tag post_level">{{level .CurrentUser.Level}}</div>{{end}}
|
|
|
|
<div class="tag_post"></div>
|
|
|
|
</div>
|
2018-12-28 11:13:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-05 03:18:36 +00:00
|
|
|
<div class="rowblock topic_reply_form quick_create_form"aria-label="{{lang "topic.reply_aria"}}">
|
|
|
|
<form id="quick_post_form"enctype="multipart/form-data"action="/reply/create/?s={{.CurrentUser.Session}}"method="post"></form>
|
|
|
|
<input form="quick_post_form"name="tid"value='{{.Topic.ID}}'type="hidden">
|
|
|
|
<input form="quick_post_form"id="has_poll_input"name="has_poll"type="hidden"value=0>
|
2018-12-28 11:13:06 +00:00
|
|
|
<div class="formrow real_first_child">
|
|
|
|
<div class="formitem">
|
2020-04-30 06:39:24 +00:00
|
|
|
<textarea id="input_content"form="quick_post_form"name="content"placeholder="{{lang "topic.reply_content_alt"}}"required></textarea>
|
2018-12-28 11:13:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow poll_content_row auto_hide">
|
|
|
|
<div class="formitem">
|
2020-04-05 03:18:36 +00:00
|
|
|
<div class="pollinput"data-pollinput=0>
|
|
|
|
<input type="checkbox"disabled>
|
2018-12-28 11:13:06 +00:00
|
|
|
<label class="pollinputlabel"></label>
|
2020-04-05 03:18:36 +00:00
|
|
|
<input form="quick_post_form"name="pollinputitem[0]"class="pollinputinput"type="text"placeholder="{{lang "topic.reply_add_poll_option_first"}}">
|
2018-12-28 11:13:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow quick_button_row">
|
|
|
|
<div class="formitem">
|
2020-04-05 03:18:36 +00:00
|
|
|
<button form="quick_post_form"name="reply-button"class="formbutton">{{lang "topic.reply_button"}}</button>
|
|
|
|
<button form="quick_post_form"class="formbutton"id="add_poll_button">{{lang "topic.reply_add_poll_button"}}</button>
|
2018-12-28 11:13:06 +00:00
|
|
|
{{if .CurrentUser.Perms.UploadFiles}}
|
2020-04-30 06:39:24 +00:00
|
|
|
<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file"class="auto_hide">
|
2020-04-05 03:18:36 +00:00
|
|
|
<label for="upload_files"class="formbutton add_file_button">{{lang "topic.reply_add_file_button"}}</label>
|
2018-12-28 11:13:06 +00:00
|
|
|
<div id="upload_file_dock"></div>{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|