web/views/busy.erb in sidekiq-6.2.0 vs web/views/busy.erb in sidekiq-6.2.1
- old
+ new
@@ -76,12 +76,13 @@
<td><%= format_memory(process['rss'].to_i) %></td>
<td><%= process['concurrency'] %></td>
<td><%= process['busy'] %></td>
<td>
<form method="POST">
+ <%= csrf_tag %>
+ <input type="hidden" name="identity" value="<%= process['identity'] %>"/>
+
<div class="btn-group pull-right flip">
- <%= csrf_tag %>
- <input type="hidden" name="identity" value="<%= process['identity'] %>"/>
<% unless process.stopping? %><button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('Quiet') %></button><% end %>
<button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('Stop') %></button>
</div>
</form>
</td>