Sha256: da4f62e82f4bcc56114696dd7b5f9952bef4b554d8ee67510e27e5fcae09a541
Contents?: true
Size: 844 Bytes
Versions: 13
Compression:
Stored size: 844 Bytes
Contents
<div id="report_filter_container_<%= dom_id(filterable) %>"> <h3><%= filterable.class.name.sub('ClarkKent::','').underscore.humanize %> Filters</h3> <div id="report_filter_list_<%= dom_id(filterable) %>" class="ih-row"> <% for report_filter in filterable.report_filters %> <%= render partial: '/clark_kent/report_filters/show_wrapper', locals: {report_filter: report_filter} %> <% end %> </div> <div class="ih-row margin-top"> <%= link_to 'Add a Filter', new_report_filter_url(filterable_id: filterable.id, filterable_type: filterable.class.name), class: 'btn btn-primary', data: {ajax_link: "true", ajax_target: "#new_report_filter_container_#{dom_id(filterable)}" } %> </div> <div id="new_report_filter_container_<%= dom_id(filterable) %>" class="ih-row margin-top"> </div> </div>
Version data entries
13 entries across 13 versions & 1 rubygems