Sha256: e8e0341ed8b00ef7c2a3d70f14a491df0b5b9e5ea24c7630b3d97baa0508e8f5
Contents?: true
Size: 811 Bytes
Versions: 1
Compression:
Stored size: 811 Bytes
Contents
<h3>Categories</h3> <div> <% PolicyManager::UserTerm.group("year(created_at)").group("month(created_at)").count.each do |ut| %> <%= ut.first %> | <%= ut.last %> <% end %> </div> <div class="table-responsive"> <table class="table table-striped table-sm"> <thead> <tr> <th>Name</th> <th>Articles</th> <th colspan="3"></th> </tr> </thead> <tbody> <% PolicyManager::Category.all.each do |category| %> <tr> <td><%= category.name %></td> <td><%= category.terms.size %></td> <td><%= link_to 'Show', category %></td> <td><%= link_to 'Edit', edit_category_path(category) %></td> <td><%= link_to 'Destroy', category, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gdpr_rails-0.1.0 | app/views/policy_manager/dashboard/index.erb |