Sha256: 63061dc62c20ef9ff804134a7d96ec92c87a6ea23d9f4888910802a5eb2a4b7c
Contents?: true
Size: 1.46 KB
Versions: 7
Compression:
Stored size: 1.46 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> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems