Sha256: a7d353f4a141d7da126e945f4e5a9fd1ce6c6168ceed71e1a5bea1937ff14a55

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 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.html' %>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antispam-0.1.5 app/views/antispam/blocks/index.html.erb