Sha256: 5c761d92f98347e2966d0af78b5ec6907e6dcf4fdae58b1d7ef4c4e4913303b3

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 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>

<%= will_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

1 entries across 1 versions & 1 rubygems

Version Path
enju_library-0.0.2 app/views/search_engines/index.html.erb