Sha256: 3b72b2b136ba1433df552be85ad54328719fff3fe2314b81fdfd228ed99f09db

Contents?: true

Size: 820 Bytes

Versions: 8

Compression:

Stored size: 820 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="srow">
    <% for report_filter in filterable.viable_report_filters %>
      <%= render partial: '/clark_kent/report_filters/show_wrapper', locals: {report_filter: report_filter} %>
    <% end %>
  </div>

  <div class="srow 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="srow margin-top">

  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
clark_kent-0.11.3 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.11.2 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.11.1 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.11.0 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.10.4 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.10.2 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.10.1 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.10.0 app/views/clark_kent/report_filters/_index.html.erb