5e136750ef38d25c8c9977a05cb434bf97245863
[kivitendo-erp.git] / templates / webpages / generic / error.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 <body>
4
5  <div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]
6  <p class="message_error_label">[% label_error %]</p>
7  </div>
8  
9  <p style="text-align: left;"><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
10  
11  [%- IF SHOW_BACK_BUTTON %]
12  <form>
13   <p>
14    <!--- TODO: show back button always hack
15          In which situation is it necessary to hide it?
16    <input type="button" onclick="history.back()" value="[% 'Back' | $T8 %]">
17    -->
18   </p>
19  </form>
20
21  [%- ELSIF SHOW_BUTTON %]
22
23  <form action="[% HTML.escape(script) %]" method="post">
24
25   [%- FOREACH var = VARIABLES %]
26   <input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">
27   [%- END %]
28
29   <input type="hidden" name="action" value="[% HTML.escape(action) %]">
30
31   <p>
32    <input type="submit" value="[% BUTTON_LABEL %]">
33   </p>
34  </form>
35
36  [%- END %]
37
38 </body>
39 </html>