Sha256: 7da4f49bba101567edd64134d15f63800f21c7764ed79f8f045284beda95ba38
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
<div id="exceptions"> <div class="pages"> <%= link_to('Clear History', {:action => :clear}, :confirm => "are you sure?", :method => :post) %> <%= link_to 'Delete Visible', { :action => 'destroy_all' }.merge(params_filters), :class => 'delete_visible_link' %> <strong><%= will_paginate @exceptions, :params => { :controller => "logged_exceptions", :action => "index" }.merge(params_filters), :style => 'display:inline' %></strong> </div> <h1>Exceptions <%= raw "<span>(filtered)</span>" if filtered? %> </h1> <table> <thead> <tr> <th>Exception</th> <th>Date</th> <th></th> </tr> </thead> <tbody> <% @exceptions.each do |exception| %> <tr id="<%= dom_id(exception) %>" class="<%= cycle("eor", "") %> exception"> <td> <div class="expclass"><%= link_to exception.name, {:action => "show", :id => exception}, :class => 'show_link' %></div> <span class="message"><%= h exception.message.truncate(255) %></span> </td> <td class="time"><%= pretty_exception_date(exception) %></td> <td><%= link_to 'Delete', { :action => 'destroy', :id => exception }, :class => "util delete_link" %></td> </tr> <% end %> </tbody> </table> <div class="pages pages-bottom"> <strong><%= will_paginate @exceptions, :params => { :controller => "logged_exceptions", :action => "index" }.merge(params_filters), :style => 'display:inline' %></strong> </div> </div> <!-- #exceptions -->
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exception_logger-0.2.0 | app/views/exception_logger/logged_exceptions/_exceptions.html.erb |