%= form_for grid, options do |f| -%>
<% grid.filters.each do |filter| %>
<%= f.datagrid_label filter %>
<%= f.datagrid_filter filter %>
<% end %>
<%= f.submit I18n.t("datagrid.form.search").html_safe, class: "datagrid-submit" %>
<%= link_to I18n.t('datagrid.form.reset').html_safe, url_for(grid.to_param => {}), class: "datagrid-reset" %>
<% end -%>