2014-02-09 17:56:01 -05:00
|
|
|
<%= erb :_job_info, :locals => {:job => @dead, :type => :dead} %>
|
|
|
|
|
|
|
|
<h3><%= t('Error') %></h3>
|
2015-05-13 19:48:17 -04:00
|
|
|
<div class="table_container">
|
|
|
|
<table class="error table table-bordered table-striped">
|
|
|
|
<tbody>
|
2014-02-09 17:56:01 -05:00
|
|
|
<tr>
|
2015-05-13 19:48:17 -04:00
|
|
|
<th><%= t('ErrorClass') %></th>
|
2014-02-09 17:56:01 -05:00
|
|
|
<td>
|
2015-05-13 19:48:17 -04:00
|
|
|
<code><%= @dead['error_class'] %></code>
|
2014-02-09 17:56:01 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
2015-05-13 19:48:17 -04:00
|
|
|
<tr>
|
|
|
|
<th><%= t('ErrorMessage') %></th>
|
|
|
|
<td><%= h(@dead['error_message']) %></td>
|
|
|
|
</tr>
|
|
|
|
<% if !@dead['error_backtrace'].nil? %>
|
|
|
|
<tr>
|
|
|
|
<th><%= t('ErrorBacktrace') %></th>
|
|
|
|
<td>
|
|
|
|
<code><%= @dead['error_backtrace'].join("<br/>") %></code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2014-02-09 17:56:01 -05:00
|
|
|
<form class="form-horizontal" action="<%= root_path %>morgue/<%= job_params(@dead, @dead.score) %>" method="post">
|
2015-07-06 18:52:41 -04:00
|
|
|
<%= csrf_tag %>
|
2014-02-09 17:56:01 -05:00
|
|
|
<a class="btn btn-default" href="<%= root_path %>morgue"><%= t('GoBack') %></a>
|
|
|
|
<input class="btn btn-primary" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
|
|
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
|
|
|
</form>
|