web/views/busy.erb in sidekiq-3.4.1 vs web/views/busy.erb in sidekiq-3.4.2

- old
+ new

@@ -2,10 +2,11 @@ <div class="col-sm-8 pull-left"> <h3><%= t('Processes') %></h3> </div> <div class="col-sm-4 pull-right"> <form method="POST" style="margin-top: 20px; margin-bottom: 10px;"> + <%= csrf_tag %> <div class="btn-group pull-right"> <button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('QuietAll') %></button> <button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('StopAll') %></button> </div> </form> @@ -38,9 +39,10 @@ <td><%= process['concurrency'] %></td> <td><%= process['busy'] %></td> <td> <div class="btn-group pull-right"> <form method="POST"> + <%= csrf_tag %> <input type="hidden" name="identity" value="<%= process['identity'] %>"/> <button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('Quiet') %></button> <button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('Stop') %></button> </form> </div>