Sha256: 57bd3ad294c93a3e68ecaf61d7412400056f19382e8b12be4fd46a74ff48fcec
Contents?: true
Size: 1.43 KB
Versions: 40
Compression:
Stored size: 1.43 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.listing', model: t('activerecord.models.search_engine')) -%></h1> <div id="content_list"> <table class="table table-striped index"> <tr> <th id="position"></th> <th><%= t('activerecord.attributes.search_engine.name') -%></th> <th><%= t('activerecord.attributes.search_engine.note') -%></th> <th></th> <th></th> </tr> <%- @search_engines.each do |search_engine| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%- if policy(search_engine).update? -%> <%= move_position(search_engine) -%> <%- end -%> </td> <td><%= link_to search_engine.name, search_engine.url -%></td> <td><%= search_engine.note -%></td> <td><%= link_to t('page.show'), search_engine -%></td> <td> <%- if policy(search_engine).update? -%> <%= link_to t('page.edit'), edit_search_engine_path(search_engine) -%> <% end %> <%- if policy(search_engine).destroy? -%> <%= link_to t('page.destroy'), search_engine, data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%> </td> </tr> <%- end -%> </table> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <ul> <%- if policy(SearchEngine).create? -%> <li><%= link_to t('page.new', model: t('activerecord.models.search_engine')), new_search_engine_path -%></li> <%- end -%> </ul> </div>
Version data entries
40 entries across 38 versions & 2 rubygems