1
0

Filter form resetting

This commit is contained in:
cryptogopher 2019-11-02 16:52:35 +01:00
parent 1acb72f33d
commit c7c39be017

View File

@ -9,10 +9,14 @@
placeholder: 'name filter' %>
</td>
<td style="padding-left:8px;">
<%= link_to l(:button_apply), '#',
:class => "icon icon-checked",
<%= link_to l(:button_apply), '#', :class => "icon icon-checked",
:onclick => '$("#filters_form").submit(); return false;' %>
</td>
<td style="padding-left:8px;">
<%= link_to l(:button_clear), '#', :class => "icon icon-reload",
:onclick => '$("#filters_form input").val(""); $("#filters_form").submit();
return false;' %>
</td>
</tr>
</table>
<% end %>