github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/topics_quick_topic.html (about)

     1  <input form="quick_post_form"id="has_poll_input"name="has_poll"value=0 type="hidden">
     2  <div class="formrow topic_content_row">
     3  	<div class="formitem">
     4  		<textarea form="quick_post_form"id="input_content"name="content"placeholder="{{lang "quick_topic.content_placeholder"}}"required></textarea>
     5  	</div>
     6  </div>
     7  <div class="formrow poll_content_row auto_hide">
     8  	<div class="formitem">
     9  		<div class="pollinput"data-pollinput=0>
    10  			<input type="checkbox"disabled>
    11  			<label class="pollinputlabel"></label>
    12  			<input form="quick_post_form"name="pollinputitem[0]"class="pollinputinput"type="text"placeholder="{{lang "quick_topic.add_poll_option_first"}}">
    13  		</div>
    14  	</div>
    15  </div>
    16  <div class="formrow quick_button_row">
    17  	<div class="formitem">
    18  		<button form="quick_post_form"class="formbutton">{{lang "quick_topic.create_button"}}</button>
    19  		<button form="quick_post_form"class="formbutton"id="add_poll_button">{{lang "quick_topic.add_poll_button"}}</button>
    20  		{{if .CurrentUser.Perms.UploadFiles}}
    21  		<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file"class="auto_hide">
    22  		<label for="upload_files"class="formbutton add_file_button">{{lang "quick_topic.add_file_button"}}</label>
    23  		<div id="upload_file_dock"></div>{{end}}
    24  		<button class="formbutton close_form">{{lang "quick_topic.cancel_button"}}</button>
    25  	</div>
    26  </div>