aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/menuedit.tpl
blob: 84b16dc0b9e7291690e1add2d0a96ea7c5f7f7ae (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="pull-right">
		<a href="{{$menu_edit_link}}" title="{{$hintedit}}" class="btn btn-sm btn-success"><i class="fa fa-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{{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 form-group pull-right" >
			<button type="submit" name="submit" class="btn btn-primary">{{$submit}}&nbsp;<i class="fa fa-caret-right"></i></button>
		</div>
		<div class="clear"></div>
	</form>
</div>
{{if $header}}
</div>
{{/if}}