Revision 73b8ad34
Von Martin Helmling martin.helmling@octosoft.eu vor fast 8 Jahren hinzugefügt
templates/webpages/generic/new_item.html | ||
---|---|---|
5 | 5 |
|
6 | 6 |
<p>[% 'What type of item is this?' | $T8 %]</h4> |
7 | 7 |
|
8 |
<form method="post" action="ic.pl">
|
|
8 |
<form method="post" action="controller.pl">
|
|
9 | 9 |
|
10 | 10 |
<p> |
11 | 11 |
|
12 |
<input class="radio" type="radio" name="part_type" value="part" checked> [% 'Part' | $T8 %]<br> |
|
13 |
<input class="radio" type="radio" name="part_type" value="service"> [% 'Service' | $T8 %] |
|
12 |
<input class="radio" type="radio" name="part_type" value="part" checked> [% 'Part' | $T8 %]<br> |
|
13 |
<input class="radio" type="radio" name="part_type" value="assembly"> [% 'Assembly' | $T8 %]<br> |
|
14 |
<input class="radio" type="radio" name="part_type" value="service"> [% 'Service' | $T8 %]<br> |
|
15 |
<input class="radio" type="radio" name="part_type" value="assortment"> [% 'Assortment' | $T8 %] |
|
14 | 16 |
<p> |
15 | 17 |
|
16 | 18 |
[%- FOREACH var = HIDDENS %] |
17 | 19 |
<input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]"> |
18 | 20 |
[%- END %] |
19 | 21 |
|
20 |
<input type="hidden" name="action" value="dispatcher">
|
|
22 |
<input type="hidden" name="action" value="Part/dispatch">
|
|
21 | 23 |
<input class="submit" type="submit" name="action_add" value="[% 'Continue' | $T8 %]"> |
22 | 24 |
<input id='back_button' type='button' class="submit" value="[% 'Back' | $T8 %]"> |
23 | 25 |
</form> |
Auch abrufbar als: Unified diff
BUGFIX: Neuen Artikel anlegen verwendet alten Controller
Neuen Artikel anlegen springt in nicht mehr vorhandene Methode in ic.pl
Nun wird in neuen Part Controller gesprungen