Sha256: 286ed72cc464476b1bcf94a8b93dc2fd466d8069a669c3e7dc1a91a68df1bd6e
Contents?: true
Size: 1.02 KB
Versions: 10
Compression:
Stored size: 1.02 KB
Contents
<%= render 'backend/breadcrumbs' %> <% if @search_terms.any? %> <p> <%= link_to backend_search_terms_path, class: 'btn btn-danger', method: 'delete', data: { confirm: t('b.msg.confirm') } do %> <%= icon :trash %> <%= t('b.msg.search_terms.destroy_all') %> <% end %> </p> <table class="table table-hover table-striped"> <thead class="thead-inverse"> <tr> <th><%= t 'b.locale' %></th> <th><%= t 'b.search_term' %></th> <th><%= t 'b.times_used' %></th> <th> </th> </tr> </thead> <tbody> <% @search_terms.each do |s| %> <tr> <td><%= s.locale.upcase %></td> <td><%= s.term %></td> <td><%= s.total %></td> <td class="text-right"> <%= link_to icon(:clone), new_backend_search_synonym_path(search_locale: s.locale, term: s.term), title: t('b.msg.search_synonyms.create') %> </td> </tr> <% end %> </tbody> </table> <% else %> <p><%= t 'b.msg.no_items' %></p> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems