Sha256: 8c946a1390f2496cbcb1d2e9e29487ab5f0a7d575872973e936050b5914599f4

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

<div class="ui top attached borderless menu">
  <div class="header item">Checks</div>
  <div class="right menu">
    <div class="item">
      <%= link_to 'New Check', new_check_path, class: 'ui teal button' %>
    </div>
  </div>
</div>

<div class="ui attached segment">
  <%= render 'search_form' %>
</div>

<table class="ui bottom attached table">
  <thead>
    <tr>
      <th><%= Check.human_attribute_name(:id) %></th>
      <th><%= Check.human_attribute_name(:member_id) %></th>
      <th><%= Check.human_attribute_name(:comment) %></th>
      <th><%= Check.human_attribute_name(:verified) %></th>
      <th><%= Check.human_attribute_name(:position) %></th>
      <th>Actions</th>
    </tr>
  </thead>
  <tbody>
  <% @checks.each do |check| %>
    <tr>
      <td><%= check.id %></td>
      <td><%= check.member_id %></td>
      <td><%= check.comment %></td>
      <td><%= check.verified %></td>
      <td><%= check.position %></td>
      <td class="ui labels">
        <%= link_to check_path(check), class: 'ui blue mini icon button' do %>
          <i class="location arrow icon"></i>
        <% end %>
        <%= link_to edit_check_path(check), class: 'ui pink mini icon button' do %>
          <i class="pencil alternate icon"></i>
        <% end %>
        <%= link_to check_path(check), method: :delete, data: { confirm: 'Are you sure?' }, class: 'ui red mini icon button' do %>
          <i class="times icon"></i>
        <% end %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>

<%= paginate @checks %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_audit-1.0.3 app/views/audit/admin/checks/index.html.erb
rails_audit-1.0.2 app/views/audit/admin/checks/index.html.erb
rails_audit-1.0.1 app/views/audit/admin/checks/index.html.erb