Sha256: 2de1214d1d3dd563e44266a095c6b588f1108a2c51f0fdbb6c4de9ddc79652d3

Contents?: true

Size: 887 Bytes

Versions: 3

Compression:

Stored size: 887 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Clears</h1>

<table>
  <thead>
    <tr>
      <th>Ip</th>
      <th>Result</th>
      <th>Answer</th>
      <th>Threat before</th>
      <th>Threat after</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% Antispam::Clear.all.order(created_at: :desc).limit(50).each do |clear| %>
      <tr>
        <td><%= clear.ip %></td>
        <td><%= clear.result %></td>
        <td><%= clear.answer %></td>
        <td><%= clear.threat_before %></td>
        <td><%= clear.threat_after %></td>
        <td><%= time_ago_in_words clear.created_at %> ago</td>
<!--        <td><%#= link_to 'Show', clear %></td>-->
<!--        <td><%#= link_to 'Edit', edit_clear_path(clear) %></td>-->
<!--        <td><%#= link_to 'Destroy', clear, method: :delete, data: { confirm: 'Are you sure?' } %></td>-->
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
antispam-0.2.0 app/views/antispam/clears/index.html.erb
antispam-0.1.7 app/views/antispam/clears/index.html.erb
antispam-0.1.5 app/views/antispam/clears/index.html.erb