Sha256: 406ce9e59e3645ca8fe12ab5c32605a891b47bfdc12d8451956311a59432ee70
Contents?: true
Size: 845 Bytes
Versions: 25
Compression:
Stored size: 845 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="<%= dom_id filterable, :new_report_filter_container %>" class="ih-row margin-top"> </div> </div>
Version data entries
25 entries across 25 versions & 1 rubygems