aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menuedit.tpl
blob: 862143ec110dd82044ad4b3a4ad2022ba4911c49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{if $header}}
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
	{{if $menu_edit_link}}
	<div class="float-end">
		<a href="{{$menu_edit_link}}" title="{{$hintedit}}" class="btn btn-sm btn-success"><i class="bi bi-pencil-square-o"></i>&nbsp;{{$editcontents}}</a>
	</div>
	{{/if}}
	<h2>{{$header}}</h2>
	<div class="clear"></div>
</div>
{{/if}}
<div id="menu-creator" class="section-content-tools-wrapper" style="display: {{$display}};">
	<form id="menuedit" action="menu/{{$nick}}{{if $menu_id}}/{{$menu_id}}{{/if}}{{if $sys}}?f=&sys=1{{/if}}" method="post" >
		{{if $menu_id}}
		<input type="hidden" name="menu_id" value="{{$menu_id}}" />
		{{/if}}
		{{if $menu_system}}
		<input type="hidden" name="menu_system" value="{{$menu_system}}" />
		{{/if}}
		{{include file="field_input.tpl" field=$menu_name}}
		{{include file="field_input.tpl" field=$menu_desc}}

		{{include file="field_checkbox.tpl" field=$menu_bookmark}}
		<div class="menuedit-submit-wrapper mb-3 float-end" >
			<button type="submit" name="submit" class="btn btn-primary">{{$submit}}&nbsp;<i class="bi bi-caret-right"></i></button>
		</div>
		<div class="clear"></div>
	</form>
</div>
{{if $header}}
</div>
{{/if}}