aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menuedit.tpl
blob: ea9e775e23d5312d81a1d6e1072a2948325b4df3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<h2>{{$header}}</h2>

{{if $menu_id}}
<a href="mitem/{{$menu_id}}" title="{{$hintedit}}">{{$editcontents}}</a>
{{/if}}

<form id="menuedit" action="menu{{if $menu_id}}/{{$menu_id}}{{/if}}" method="post" >

{{if $menu_id}}
<input type="hidden" name="menu_id" value="{{$menu_id}}" />
{{/if}}

{{include file="field_input.tpl" field=$menu_name}} 
{{include file="field_input.tpl" field=$menu_desc}}

<div class="menuedit-submit-wrapper" >
<input type="submit" name="submit" class="menuedit-submit" value="{{$submit}}" />
</div>

</form>