Sha256: 3e98bea0cd5c7844619db704bd49ae974339fe64671c1a025e8b24a880fd6c01

Contents?: true

Size: 1.16 KB

Versions: 14

Compression:

Stored size: 1.16 KB

Contents

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

<table class="table table-striped 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></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 t('page.edit'), edit_order_list_path(order_list) -%>
      <%= link_to t('page.destroy'), order_list, data: {confirm: t('page.are_you_sure')}, method: :delete -%>
  </tr>
<%- end -%>
</table>

<%= paginate(@order_lists) -%>

</div>
</div>

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_purchase_request-0.3.2 app/views/order_lists/index.html.erb
enju_purchase_request-0.3.1 app/views/order_lists/index.html.erb
enju_purchase_request-0.3.0.beta.1 app/views/order_lists/index.html.erb
enju_purchase_request-0.2.1 app/views/order_lists/index.html.erb
enju_purchase_request-0.2.0 app/views/order_lists/index.html.erb
enju_purchase_request-0.2.0.beta.2 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.1 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0.pre15 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0.pre14 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0.pre13 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0.pre12 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0.pre11 app/views/order_lists/index.html.erb
enju_purchase_request-0.1.0.pre10 app/views/order_lists/index.html.erb