lib/sidetiq/views/sidetiq.erb in sidetiq-0.6.3 vs lib/sidetiq/views/sidetiq.erb in sidetiq-0.7.0

- old
+ new

@@ -35,9 +35,10 @@ <%= relative_time(schedule.next_occurrence(@time)) %> <% end %> </td> <td> <form action="<%= "#{root_path}sidetiq/#{worker.name}/trigger" %>" method="post"> + <%= csrf_tag %> <input class="btn btn-danger btn-small" type="submit" name="trigger" value="Trigger" data-confirm="Are you sure you want to trigger this job?" /> </form> </td> </tr> <% end %>