]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/background_job/form.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / background_job / form.html
1 [% USE HTML %]
2 [% USE L %]
3 [% USE LxERP %]
4
5 <h1>[% FORM.title %]</h1>
6
7 [% INCLUDE 'common/flash.html' %]
8
9 <form method="post" action="controller.pl" id="form">
10   [% L.hidden_tag("id", SELF.background_job.id) %]
11   [% L.hidden_tag("back_to", SELF.back_to) %]
12
13   <table>
14     <tbody>
15        <tr>
16         <th>[% LxERP.t8('Active') %]</th>
17         <td>[% L.yes_no_tag("background_job.active", SELF.background_job.active) %]</td>
18        </tr>
19        <tr>
20         <th>[% LxERP.t8('Execution type') %]</th>
21         <td>[% 
22           L.select_tag('background_job.type', [
23             [ 'once', LxERP.t8('one-time execution') ],
24             [ 'interval', LxERP.t8('repeated execution') ]
25           ],
26           'default' = SELF.background_job.type) 
27         %]</td>
28        </tr>
29        <tr>
30         <th>[% LxERP.t8('Package name') %]</th>
31         <td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td>
32        </tr>
33        <tr>
34         <th>[% LxERP.t8('Description') %]</th>
35         <td>[% L.input_tag("background_job.description", SELF.background_job.description, 'size' => 40) %]</td>
36        </tr>
37        <tr>
38         <th>[% LxERP.t8('Execution schedule') %]</th>
39         <td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td>
40        </tr>
41        <tr>
42         <th>[% LxERP.t8('Data') %]</th>
43         <td>[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td>
44        </tr>
45     </tbody>
46   </table>
47
48 </form>