lib/resque/server/views/failed.erb in resque-1.18.6 vs lib/resque/server/views/failed.erb in resque-1.19.0
- old
+ new
@@ -3,11 +3,14 @@
<% index = 0 %>
<% date_format = "%Y/%m/%d %T %z" %>
<h1>Failed Jobs</h1>
<%unless failed.empty?%>
-<form method="POST" action="<%=u 'failed/clear'%>" class='clear-failed'>
+<form method="POST" action="<%=u 'failed/clear'%>">
<input type='submit' name='' value='Clear Failed Jobs' />
+</form>
+<form method="POST" action="<%=u 'failed/requeue/all'%>">
+ <input type='submit' name='' value='Retry Failed Jobs' />
</form>
<%end%>
<p class='sub'>Showing <%=start%> to <%= start + 20 %> of <b><%= size = Resque::Failure.count %></b> jobs</p>