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

Version Path
enju_library-0.3.11 app/views/search_engines/index.html.erb
enju_library-0.3.10 app/views/search_engines/index.html.erb
enju_library-0.3.9 app/views/search_engines/index.html.erb
enju_library-0.3.8 app/views/search_engines/index.html.erb
enju_library-0.3.8.rc.2 app/views/search_engines/index.html.erb
enju_library-0.3.8.rc.1 app/views/search_engines/index.html.erb
enju_library-0.4.0.rc.1 app/views/search_engines/index.html.erb
enju_library-0.3.7 app/views/search_engines/index.html.erb
enju_library-0.3.6 app/views/search_engines/index.html.erb
enju_library-0.4.0.beta.4 app/views/search_engines/index.html.erb
enju_library-0.4.0.beta.3 app/views/search_engines/index.html.erb
enju_library-0.4.0.beta.2 app/views/search_engines/index.html.erb
enju_library-0.4.0.beta.1 app/views/search_engines/index.html.erb
enju_library-0.3.5 app/views/search_engines/index.html.erb
enju_library-0.3.4 app/views/search_engines/index.html.erb
enju_library-0.3.3 app/views/search_engines/index.html.erb
enju_library-0.3.2 app/views/search_engines/index.html.erb
enju_library-0.3.1 app/views/search_engines/index.html.erb
enju_library-0.3.0 app/views/search_engines/index.html.erb
enju_library-0.3.0.rc.1 app/views/search_engines/index.html.erb