5 <h1>[% FORM.title %]</h1>
7 [% INCLUDE 'common/flash.html' %]
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) %]
16 <th>[% LxERP.t8('Active') %]</th>
17 <td>[% L.yes_no_tag("background_job.active", SELF.background_job.active) %]</td>
20 <th>[% LxERP.t8('Execution type') %]</th>
22 L.select_tag('background_job.type', [
23 [ 'once', LxERP.t8('one-time execution') ],
24 [ 'interval', LxERP.t8('repeated execution') ]
26 'default' = SELF.background_job.type)
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>
34 <th>[% LxERP.t8('Description') %]</th>
35 <td>[% L.input_tag("background_job.description", SELF.background_job.description, 'size' => 40) %]</td>
38 <th>[% LxERP.t8('Execution schedule') %]</th>
39 <td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td>
42 <th>[% LxERP.t8('Data') %]</th>
43 <td>[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td>