Sha256: da9aa4e280070e92ec65ed0074e477a3b061fcb22cd472f11826f4dde1fc11b8
Contents?: true
Size: 549 Bytes
Versions: 5
Compression:
Stored size: 549 Bytes
Contents
.filter-section .filter-section__lhs = filter_wrapper({filter_url: '/admin/<%= model %>', replacement_class: "<%= model %>-table"}) <%- @options.filters.each do |filter| -%> <%- filter_arr = filter.split(':') -%> = cm_filter_tag("<%= filter_arr[1] %>", "<%= filter_arr[0] %>", "", 'field-area', "<%= filter_arr[0].titleize %>") <%- end -%> = clear_filters(admin_<%= model %>_path, nil, nil, "Clear all") .filter-section__rhs = link_to 'Add', <%= "new_admin_" + model.singularize + "_path" %>, class: 'filter-btn'
Version data entries
5 entries across 5 versions & 1 rubygems