Sha256: 6f35892523ef0a2e14e70ffb669afe28bac0758d85d8c3730a4e956be6bc72fa
Contents?: true
Size: 1.69 KB
Versions: 13
Compression:
Stored size: 1.69 KB
Contents
<header class="row"> <div class="col-sm-5"> <h3><%= t('Unique Digests') %></h3> </div> <form action="<%= root_path %>unique_digests" class="form form-inline" method="get"> <%= csrf_tag %> <input name="filter" class="form-control" type="text" value="<%= @filter %>" /> <button class="btn btn-default" type="submit"><%= t('Filter') %></button> </form> <% if @unique_digests.size > 0 && @total_size > @count.to_i %> <div class="col-sm-4"> <%= erb unique_template(:_paging), locals: { url: "#{root_path}unique_digests" } %> </div> <% end %> </header> <% if @unique_digests.size.positive? %> <div class="table_container"> <table class="table table-striped table-bordered table-hover"> <thead> <tr> <th><%= t('Delete') %></th> <th><%= t('Digest') %></th> </tr> </thead> <% @unique_digests.each do |digest| %> <tr> <td> <form action="<%= root_path %>unique_digests/<%= digest %>/delete" method="get"> <%= csrf_tag %> <input name="digest" value="<%= h digest %>" type="hidden" /> <input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSure') %>" /> </form> </td> <td> <a href="<%= root_path %>unique_digests/<%= digest %>"><%= digest %></a> </td> </tr> <% end %> </table> <form action="<%= root_path %>unique_digests/delete_all" method="get"> <input class="btn btn-danger btn-xs" type="submit" name="delete_all" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" /> </form> </div> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems