1 [% USE HTML %][% USE L %][% USE LxERP %]
3 <h1>[% FORM.title %]</h1>
5 [%- INCLUDE 'common/flash.html' %]
7 <form method="post" action="controller.pl" id="form">
8 [% L.hidden_tag("id", SELF.background_job.id) %]
9 [% L.hidden_tag("back_to", SELF.back_to) %]
13 <th align="right">[%- LxERP.t8('Active') %]</th>
14 <td>[% L.yes_no_tag("background_job.active", SELF.background_job.active) %]</td>
18 <th align="right">[%- LxERP.t8('Execution type') %]</th>
20 [% L.select_tag('background_job.type', [
21 [ 'once', LxERP.t8('one-time execution') ],
22 [ 'interval', LxERP.t8('repeated execution') ]
24 'default' = SELF.background_job.type) %]
29 <th align="right">[%- LxERP.t8('Package name') %]</th>
30 <td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td>
34 <th align="right">[%- LxERP.t8('Execution schedule') %]</th>
35 <td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td>
39 <th align="right" valign="top">[%- LxERP.t8('Data') %]</th>
40 <td valign="top">[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td>