Sha256: 6a9b2a7caf6bc76cf8d43ab3363684b135d91df4cb7f4ee9cc4c9f1e62235d02
Contents?: true
Size: 634 Bytes
Versions: 20
Compression:
Stored size: 634 Bytes
Contents
<%= form_for grid, options do |f| -%> <% grid.filters.each do |filter| %> <div class="datagrid-filter filter"> <%= f.datagrid_label filter %> <%= f.datagrid_filter filter %> </div> <% end %> <div class="datagrid-actions"> <%= f.submit I18n.t("datagrid.form.search").html_safe, :class => "datagrid-submit" %> <%# https://github.com/rails/rails/pull/14949 -%> <% empty_parameter = Rails.version >= "4.1.0" && Rails.version <= '4.1.2' ? nil : {}-%> <%= link_to I18n.t('datagrid.form.reset').html_safe, url_for(grid.to_param => empty_parameter), :class => "datagrid-reset" %> </div> <% end -%>
Version data entries
20 entries across 20 versions & 1 rubygems