Sha256: afd72214fa2b8859f6581ff686a8360401717d713d84a2f13b5636cdb0ba4e6c

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

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

<div class="row">
  <div class="col-12">
    <div class="card">
      <%= chart ->{PolicyManager::UserTerm.group_by_day(:created_at, format: "%a").count} %> 
    </div>
  </div>
</div>


<div class="card">

  <div class="card-header">
    <h3 class="card-title">
      <%= I18n.t("terms_app.categories.index.title") %>
    </h3>
  </div>

  <div class="table-responsive">
    <table class="table card-table table-vcenter text-nowrap">
    <thead>
      <tr>
        <th><%= I18n.t("terms_app.categories.index.table.name") %></th>
        <th><%= I18n.t("terms_app.categories.index.table.terms") %></th>
        <th colspan="1"></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), class: "btn btn-secondary btn-sm" %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
  </div>

  
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gdpr_rails-0.5.1 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.5.0 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.4.0 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.3.4 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.3.3 app/views/policy_manager/categories/index.html.erb
gdpr_rails-0.3.2 app/views/policy_manager/categories/index.html.erb