Sha256: 24a3364502a62ce37b80f0343a1b1054b4777e06565386a2666f7aa7bb5b5b39

Contents?: true

Size: 1.72 KB

Versions: 76

Compression:

Stored size: 1.72 KB

Contents

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

<table class="index">
  <tr>
    <th id="position"></th>
    <th><%= t('activerecord.attributes.checkout_type.name') -%></th>
    <th><%= t('activerecord.attributes.checkout_type.display_name') -%></th>
    <th><%= t('activerecord.attributes.checkout_type.note') -%></th>
    <th></th>
  </tr>

<%- @checkout_types.each do |checkout_type| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%- unless @user_group -%>
        <%- if can? :update, checkout_type -%>
          <%= move_position(checkout_type) -%>
        <%- end -%>
      <%- end -%>
    </td>
    <td><%= link_to checkout_type.name, checkout_type -%></td>
    <td><%= link_to checkout_type.display_name.localize, checkout_type -%></td>
    <td><%= checkout_type.note -%></td>
    <td>
      <%- if can? :update, checkout_type -%>
        <%= link_to t('page.edit'), edit_checkout_type_path(checkout_type) -%>
      <% end %>
      <%- if can? :destroy, checkout_type -%>
        <%= link_to t('page.destroy'), checkout_type, :confirm => t('page.are_you_sure'), :method => :delete -%>
      <% end %>
    </td>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@checkout_types) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <%- if @user_group -%>
      <li><%= link_to t('page.new', :model => t('activerecord.models.user_group_has_checkout_type')), new_user_group_user_group_has_checkout_type_path(@user_group) -%></li>
    <%- else -%>
      <li><%= link_to t('page.new', :model => t('activerecord.models.checkout_type')), new_checkout_type_path -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

76 entries across 76 versions & 2 rubygems

Version Path
enju_message-0.1.11 app/views/checkout_types/index.html.erb
enju_message-0.0.25 app/views/checkout_types/index.html.erb
enju_message-0.1.9 app/views/checkout_types/index.html.erb
enju_message-0.0.24 app/views/checkout_types/index.html.erb
enju_circulation-0.0.57 app/views/checkout_types/index.html.erb
enju_circulation-0.0.56 app/views/checkout_types/index.html.erb
enju_circulation-0.0.55 app/views/checkout_types/index.html.erb
enju_circulation-0.0.54 app/views/checkout_types/index.html.erb
enju_circulation-0.0.53 app/views/checkout_types/index.html.erb
enju_circulation-0.0.52 app/views/checkout_types/index.html.erb
enju_circulation-0.0.51 app/views/checkout_types/index.html.erb
enju_circulation-0.0.50 app/views/checkout_types/index.html.erb
enju_circulation-0.0.49 app/views/checkout_types/index.html.erb
enju_circulation-0.0.48 app/views/checkout_types/index.html.erb
enju_circulation-0.0.47 app/views/checkout_types/index.html.erb
enju_message-0.0.23 app/views/checkout_types/index.html.erb
enju_message-0.1.7 app/views/checkout_types/index.html.erb
enju_circulation-0.0.46 app/views/checkout_types/index.html.erb
enju_message-0.0.22 app/views/checkout_types/index.html.erb
enju_message-0.1.6 app/views/checkout_types/index.html.erb