Sha256: 812f4faa157eaf9f4cd4ab74b1530d859831c10a47aba27b7eeb5599497abe62

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

<%= form.datagrid_filter_input(filter, class: 'datagrid-range-from', **from_options) %>
<span class="datagrid-range-separator"><%= I18n.t('datagrid.filters.range.separator') %></span>
<%# Generating id only for "from" input to make sure -%>
<%# there is no duplicate id in DOM and click on label focuses the first input -%>
<%= form.datagrid_filter_input(filter, class: 'datagrid-range-to', **to_options, id: nil) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datagrid-2.0.0 app/views/datagrid/_range_filter.html.erb
datagrid-2.0.0.pre.alpha app/views/datagrid/_range_filter.html.erb