Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 73b8ad34

Von Martin Helmling martin.helmling@octosoft.eu vor mehr als 7 Jahren hinzugefügt

  • ID 73b8ad34859023b196d39662a247e9c8cd790c90
  • Vorgänger aeeea531
  • Nachfolger 9a32cea3

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

Unterschiede anzeigen:

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>&nbsp;[% 'Part' | $T8 %]<br>
13
      <input class="radio" type="radio" name="part_type" value="service">&nbsp;[% 'Service' | $T8 %]
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 %]
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