Sha256: b37e15a6ce968b3c359579d3f81e2b68ab3d42b87996e6fe83e442f5e4a552af
Contents?: true
Size: 1014 Bytes
Versions: 7
Compression:
Stored size: 1014 Bytes
Contents
<script type="text/javascript"> function confirmDestroyAll() { if (!confirm('Are you sure want destroy all Exception logs?')) { return false; } } </script> <div class="toolbar"> <%= @logs.total_count %> exceptions <div class="pull-right"> <%= form_tag(all_logs_path, method: 'delete') do %> <button type="submit" class="btn btn-danger" onclick="return confirmDestroyAll()">Delete All</button> <% end %> </div> </div> <% if @logs.blank? %> <div class="no-record">No exceptions.</div> <% else %> <%= paginate @logs %> <table class="table table-borded tabl"> <thead> <tr> <th>#</th> <th>Summary</th> <th class="date"></th> </tr> </thead> <tbody> <% @logs.each do |log| %> <tr> <td><%= log.id %></td> <td><%= link_to log.title, log %></td> <td class="date"><%= log.created_at.to_s %></td> </tr> <% end %> </tbody> </table> <%= paginate @logs %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems