BUGFIX: Neuen Artikel anlegen verwendet alten Controller
[kivitendo-erp.git] / templates / webpages / generic / new_item.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3
4     <h4 class="error">[% 'Item not on file!' | $T8 %]
5
6     <p>[% 'What type of item is this?' | $T8 %]</h4>
7
8     <form method="post" action="controller.pl">
9
10       <p>
11
12       <input class="radio" type="radio" name="part_type" value="part" checked>&nbsp;[% 'Part'       | $T8 %]<br>
13       <input class="radio" type="radio" name="part_type" value="assembly">    &nbsp;[% 'Assembly'   | $T8 %]<br>
14       <input class="radio" type="radio" name="part_type" value="service">     &nbsp;[% 'Service'    | $T8 %]<br>
15       <input class="radio" type="radio" name="part_type" value="assortment">  &nbsp;[% 'Assortment' | $T8 %]
16       <p>
17
18       [%- FOREACH var = HIDDENS %]
19       <input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">
20       [%- END %]
21
22       <input type="hidden" name="action" value="Part/dispatch">
23       <input class="submit" type="submit" name="action_add" value="[% 'Continue' | $T8 %]">
24       <input id='back_button' type='button' class="submit" value="[% 'Back' | $T8 %]">
25     </form>
26 <script type='text/javascript'>
27   $(function(){ $('#back_button').click(function(){ window.history.back(-1) }) })
28 </script>
29
30