Sha256: 0decafcc4ef5c1a2d97df7c0c17048e4d535eb70572f20079cdd11b3409a3cdf

Contents?: true

Size: 1.38 KB

Versions: 12

Compression:

Stored size: 1.38 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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 can? :update, search_engine -%>
        <%= 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 can? :update, search_engine -%>
        <%= link_to t('page.edit'), edit_search_engine_path(search_engine) -%>
      <% end %>
      <%- if can? :destroy, search_engine -%>
        <%= link_to t('page.destroy'), search_engine, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@search_engines) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.search_engine')), new_search_engine_path -%></li>
  </ul>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre12 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre11 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre10 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre9 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre8 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre7 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre6 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre5 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre4 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre3 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre2 app/views/search_engines/index.html.erb
enju_library-0.1.0.pre app/views/search_engines/index.html.erb