Sha256: b76b00b788453ce99cdcccce387a5428c94761b5849b71aaee3dafacccef8030

Contents?: true

Size: 484 Bytes

Versions: 13

Compression:

Stored size: 484 Bytes

Contents

<%# 
Indent in this file may cause extra space to appear.
You can add indent if whitespace doesn't matter for you
%>
<%- elements.each do |value, text, checked| -%>
<%- id = [form.object_name, filter.name, value].join('_').underscore -%>
<%= form.label filter.name, options.merge(:for => id) do -%>
<%= form.check_box(filter.name, form.datagrid_extra_checkbox_options.merge(:multiple => true, :id => id, :checked => checked), value.to_s, nil) -%>
<%= text -%>
<%- end -%>
<%- end -%>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
datagrid-1.5.1 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.5.0 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.4.4 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.4.3 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.4.2 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.4.1 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.4.0 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.3.9 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.3.7 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.3.6 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.3.5 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.3.4 app/views/datagrid/_enum_checkboxes.html.erb
datagrid-1.3.3 app/views/datagrid/_enum_checkboxes.html.erb