Sha256: 2c086904344f038394edcf6f96dcb58251faa6020958146e4d3662abb67374c3

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 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 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><%= 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.3 app/views/antispam/blocks/index.html.erb