Sha256: e46622d064e37834a4f152ee12d280871ba4227c2b9e0f2a0114675913224d82

Contents?: true

Size: 598 Bytes

Versions: 7

Compression:

Stored size: 598 Bytes

Contents

<form action="<%=root_path %>queues/<%= CGI.escape(queue.name) %>" method="post" style="display: inline">
  <%= csrf_tag %>
  <input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSureDeleteQueue', :queue => h(queue.name)) %>" />

  <% if Sidekiq.pro? %>
    <% if queue.paused? %>
      <input class="btn btn-danger btn-xs" type="submit" name="unpause" value="<%= t('Unpause') %>" />
    <% else %>
      <input class="btn btn-danger btn-xs" type="submit" name="pause" value="<%= t('Pause') %>" />
    <% end %>
  <% end %>
</form>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sidekiq-web_custom-0.6.0 lib/sidekiq/views/actions/queues/delete.erb
sidekiq-web_custom-0.5.0 lib/sidekiq/views/actions/queues/delete.erb
sidekiq-web_custom-0.4.1 lib/sidekiq/views/actions/queues/delete.erb
sidekiq-web_custom-0.4.0 lib/sidekiq/views/actions/queues/delete.erb
sidekiq-web_custom-0.3.1 lib/sidekiq/views/actions/queues/delete.erb
sidekiq-web_custom-0.3.0 lib/sidekiq/views/actions/queues/delete.erb
sidekiq-web_custom-0.2.0 lib/sidekiq/views/actions/queues/delete.erb