[%- USE L %][%- USE LxERP %][%- USE HTML %]
-<form action="controller.pl" method="post">
+<form action="controller.pl" method="post" id="filter_form">
<div class="filter_toggle">
<a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Show Filter') %]</a>
[% IF SELF.filter_summary %]([% LxERP.t8("Current filter") %]: [% SELF.filter_summary %])[% END %]
</tr>
<tr>
<th align="right">[% LxERP.t8('Status') %]</th>
- <td>[% L.select_tag('filter.status:eq_ignore_empty', [ [ '', '' ], [ 'failed', LxERP.t8('failed') ], [ 'success', LxERP.t8('succeeded') ] ], default=filter.status_eq_ignore_empty) %]</td>
+ <td>[% L.select_tag('filter.status:eq_ignore_empty', [ [ '', '' ], [ 'failure', LxERP.t8('failed') ], [ 'success', LxERP.t8('succeeded') ] ], default=filter.status_eq_ignore_empty) %]</td>
</tr>
<tr>
- <th align="right">[% LxERP.t8('Run at') %] [% LxERP.t8('From Date') %]</th>
+ <th align="right">[% LxERP.t8('Execution date from') %]</th>
<td>[% L.date_tag('filter.run_at:date::ge', filter.run_at_date__ge) %]</td>
</tr>
<tr>
- <th align="right">[% LxERP.t8('Run at') %] [% LxERP.t8('To Date') %]</th>
+ <th align="right">[% LxERP.t8('Execution date to') %]</th>
<td>[% L.date_tag('filter.run_at:date::le', filter.run_at_date__le) %]</td>
</tr>
</table>
[% L.hidden_tag('page', FORM.page) %]
[% L.submit_tag('action_list', LxERP.t8('Continue'))%]
- <a href="#" onClick="javascript:$('#filter_table input,#filter_table select').val('');">[% LxERP.t8('Reset') %]</a>
+ [% L.button_tag("\$('#filter_form').resetForm();", LxERP.t8('Reset')) %]
</div>