<%= @logs.total_count %> exceptions
<%= form_tag(all_logs_path, method: 'delete') do %>
Delete All
<% end %>
<% if @logs.blank? %>
No exceptions.
<% else %> <%= paginate @logs %>
#
Summary
<% @logs.each do |log| %>
<%= log.id %>
<%= link_to log.title, log %>
<%= log.created_at.to_s %>
<% end %>
<%= paginate @logs %> <% end %>