Sha256: 4ddd6d92b08ef0e6dfea95da1aadd1961f00f3ffda53affe93b3a8a3a372167b

Contents?: true

Size: 743 Bytes

Versions: 6

Compression:

Stored size: 743 Bytes

Contents

<h2><%= I18n.t("terms_app.categories.index.title") %></h2>


<%= chart ->{PolicyManager::UserTerm.group_by_day(:created_at, format: "%a").count} %>

<div class="table-responsive">
  <table class="table table-striped table-sm">
  <thead>
    <tr>
      <th><%= I18n.t("terms_app.categories.index.table.name") %></th>
      <th><%= I18n.t("terms_app.categories.index.table.terms") %></th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @categories.each do |category| %>
      <tr>
        <td><%= category.name %></td>
        <td><%= category.terms.size %></td>
        <td><%= link_to I18n.t("terms_app.categories.index.table.show"), category_path(category.name) %></td>
      </tr>
    <% end %>
  </tbody>
</table>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gdpr_rails-0.3.1 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.3.0 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.2.4 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.2.2 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.2.1 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.2.0 app/views/policy_manager/categories/index.html.erb