Sha256: 4464b24fd9b58c4618810490dc45c795d92b50efa5a99e1dabf080c5bc8063db
Contents?: true
Size: 1.16 KB
Versions: 7
Compression:
Stored size: 1.16 KB
Contents
<p id="notice"><%= notice %></p> <div class="row"> <div class="cx"> <h1>Blocks</h1> <table> <thead> <tr> <th>Ip</th> <th>Provider</th> <th>Controllername</th> <th>Actionname</th> <th>Threat</th> <th colspan="3"></th> </tr> </thead> <tbody> <% Antispam::Block.all.order(created_at: :desc).limit(50).each do |block| %> <tr> <td><%= block.ip %></td> <td><%= block.provider %></td> <td><%= block.controllername %></td> <td><%= block.actionname %></td> <td><%= block.threat %></td> <td><%= time_ago_in_words block.created_at %> ago</td> <!-- <td><%#= link_to 'Show', block %></td>--> <!-- <td><%#= link_to 'Edit', edit_block_path(block) %></td>--> <!-- <td><%#= link_to 'Destroy', block, method: :delete, data: { confirm: 'Are you sure?' } %></td>--> </tr> <% end %> </tbody> </table> </div> <div class="cx"> <%= render template: '/antispam/clears/index', formats: :html %> </div> </div>
Version data entries
7 entries across 7 versions & 1 rubygems