web/views/expected_failures.erb in sidekiq-expected_failures-0.2.4 vs web/views/expected_failures.erb in sidekiq-expected_failures-0.2.5
- old
+ new
@@ -20,9 +20,10 @@
</div>
<% end %>
<% if @jobs.any? || @counters.any? %>
<form id="clear-jobs" method="post" class="form-inline pull-right" action="<%= root_path %>expected_failures/clear">
+ <%= csrf_tag if respond_to?(:csrf_tag) %>
<label>Clear:</label>
<select name="what">
<option selected>Choose...</option>
<% if @jobs.any? %>
<optgroup label="Jobs">