Sha256: aa0bf1fbb592e055741338fc265096679ceb325e5e1bf2391779752ba3845f4d

Contents?: true

Size: 1.17 KB

Versions: 8

Compression:

Stored size: 1.17 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.order_list')) -%></h1>
<div id="content_list">

<table class="index">
  <tr>
    <th><%= t('activerecord.attributes.order_list.title') -%></th>
    <th><%= t('activerecord.models.bookstore') -%></th>
    <th><%= t('activerecord.attributes.order_list.note') -%></th>
    <th id="edit_icons"></th>
  </tr>

<%- @order_lists.each do |order_list| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to order_list.title, order_list -%></td>
    <td><%= link_to order_list.bookstore.name, order_list.bookstore -%></td>
    <td><%= order_list.note -%></td>
    <td>
      <%= link_to image_tag('icons/page_white_edit.png', :size => '16x16', :alt => t('page.edit')), edit_order_list_path(order_list) -%>
      <%= link_to t('page.destroy'), order_list, :confirm => t('page.are_you_sure'), :method => :delete -%>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@order_lists) -%>

</div>
</div>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enju_purchase_request-0.0.10 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.9 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.8 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.7 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.6 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.5 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.4 app/views/order_lists/index.html.erb
enju_purchase_request-0.0.3 app/views/order_lists/index.html.erb