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

Version Path
clark_kent-0.2.3 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.2.2 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.2.1 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.2.0 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.7 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.6 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.5 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.4 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.3 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.2 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.1 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.1.0 app/views/clark_kent/report_filters/_index.html.erb
clark_kent-0.0.1 app/views/clark_kent/report_filters/_index.html.erb