3 <form method="post" action="ic.pl">
4 [%- IF is_wrong_pclass == 1 %]
5 <h4 class="error">[% 'searched part not for sale' | $T8 %]</h4>
7 [%- IF is_wrong_pclass == 2 %]
8 <h4 class="error">[% 'searched part not for purchase' | $T8 %]</h4>
10 [% IF INSTANCE_CONF.get_create_part_if_notfound %]
12 <h4 class="error">[% 'Item does not exists in File' | $T8 %]
14 <p>[% 'What type of item is this?' | $T8 %]</h4>
16 <form method="post" action="ic.pl">
20 <input class="radio" type="radio" name="part_type" value="part" checked> [% 'Part' | $T8 %]<br>
21 <input class="radio" type="radio" name="part_type" value="service"> [% 'Service' | $T8 %]
24 [%- FOREACH var = HIDDENS %]
25 <input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">
28 <input type="hidden" name="action" value="dispatcher">
29 <input class="submit" type="submit" name="action_add" value="[% 'Continue' | $T8 %]">
31 <h4 class="error">[% 'Item does not exists in File' | $T8 %]</h4>
35 <input id='back_button' type='button' class="submit" value="[% 'Back' | $T8 %]">
38 <script type='text/javascript'>
39 $(function(){ $('#back_button').click(function(){ window.history.back(-1) }) })