2020-06-08 07:04:47 +00:00
|
|
|
<input form="quick_post_form"id="has_poll_input"name="has_poll"value=0 type="hidden">
|
2019-06-16 23:36:31 +00:00
|
|
|
<div class="formrow topic_content_row">
|
|
|
|
<div class="formitem">
|
2020-06-08 07:04:47 +00:00
|
|
|
<textarea form="quick_post_form"id="input_content"name="content"placeholder="{{lang "quick_topic.content_placeholder"}}"required></textarea>
|
2019-06-16 23:36:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow poll_content_row auto_hide">
|
|
|
|
<div class="formitem">
|
2020-06-08 07:04:47 +00:00
|
|
|
<div class="pollinput"data-pollinput=0>
|
|
|
|
<input type="checkbox"disabled>
|
2019-06-16 23:36:31 +00:00
|
|
|
<label class="pollinputlabel"></label>
|
2020-06-08 07:04:47 +00:00
|
|
|
<input form="quick_post_form"name="pollinputitem[0]"class="pollinputinput"type="text"placeholder="{{lang "quick_topic.add_poll_option_first"}}">
|
2019-02-10 05:52:26 +00:00
|
|
|
</div>
|
2019-06-16 23:36:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow quick_button_row">
|
|
|
|
<div class="formitem">
|
2020-06-08 07:04:47 +00:00
|
|
|
<button form="quick_post_form"class="formbutton">{{lang "quick_topic.create_button"}}</button>
|
|
|
|
<button form="quick_post_form"class="formbutton"id="add_poll_button">{{lang "quick_topic.add_poll_button"}}</button>
|
2019-06-16 23:36:31 +00:00
|
|
|
{{if .CurrentUser.Perms.UploadFiles}}
|
2020-06-08 07:04:47 +00:00
|
|
|
<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file"class="auto_hide">
|
|
|
|
<label for="upload_files"class="formbutton add_file_button">{{lang "quick_topic.add_file_button"}}</label>
|
2019-06-16 23:36:31 +00:00
|
|
|
<div id="upload_file_dock"></div>{{end}}
|
|
|
|
<button class="formbutton close_form">{{lang "quick_topic.cancel_button"}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|