github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_forum_edit_perms.html (about) 1 <div class="colstack_item colstack_head"> 2 <div class="rowitem"><h1>{{.Name}}{{lang "panel.forum_head_suffix"}}</h1></div> 3 </div> 4 <form action="/panel/forums/edit/perms/adv/submit/{{.ForumID}}-{{.GroupID}}?s={{.CurrentUser.Session}}"method="post"> 5 <div class="colstack_item rowlist formlist the_form panel_forum_perms"> 6 {{range .Perms}} 7 <div class="formrow"> 8 <div class="formitem"> 9 <a>{{.LangStr}}</a> 10 <div class="to_right"> 11 <select name="perm-{{.Name}}"> 12 <option{{if .Toggle}} selected{{end}} value=1>{{lang "option_yes"}}</option> 13 <option{{if not .Toggle}} selected{{end}} value=0>{{lang "option_no"}}</option> 14 </select> 15 </div> 16 </div> 17 </div>{{end}} 18 <div class="formrow"> 19 <div class="formitem"><button name="panel-button"class="formbutton form_middle_button">{{lang "panel.forum_update_button"}}</button></div> 20 </div> 21 </div> 22 </form>