2019-09-29 04:56:39 +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">
|
|
|
|
<textarea form="quick_post_form" id="input_content" name="topic-content" placeholder="{{lang "quick_topic.content_placeholder"}}" required></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow poll_content_row auto_hide">
|
|
|
|
<div class="formitem">
|
|
|
|
<div class="pollinput" data-pollinput=0>
|
|
|
|
<input type="checkbox" disabled />
|
|
|
|
<label class="pollinputlabel"></label>
|
|
|
|
<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">
|
2019-09-30 10:15:50 +00:00
|
|
|
<button form="quick_post_form" class="formbutton">{{lang "quick_topic.create_button"}}</button>
|
2019-06-16 23:36:31 +00:00
|
|
|
<button form="quick_post_form" class="formbutton" id="add_poll_button">{{lang "quick_topic.add_poll_button"}}</button>
|
|
|
|
{{if .CurrentUser.Perms.UploadFiles}}
|
|
|
|
<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>
|
|
|
|
<div id="upload_file_dock"></div>{{end}}
|
|
|
|
<button class="formbutton close_form">{{lang "quick_topic.cancel_button"}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|