aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menuedit.tpl
blob: a46727c55410527f46962d3e501f217d352f9a1b (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="medit/{{$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>