Sha256: 6ca6f1bc0693ea84df776254880e912083a9f8635024e537805c15dffbe131aa

Contents?: true

Size: 1.45 KB

Versions: 10

Compression:

Stored size: 1.45 KB

Contents

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

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

<%- @circulation_statuses.each do |circulation_status| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%- if can? :update, circulation_status -%>
        <%= move_position(circulation_status) -%>
      <%- end -%>
    </td>
    <td><%= link_to circulation_status.name, circulation_status -%></td>
    <td><%= link_to circulation_status.display_name.localize, circulation_status -%></td>
    <td>
      <%- if can? :update, circulation_status -%>
        <%= link_to t('page.edit'), edit_circulation_status_path(circulation_status) -%>
      <% end %>
      <%- if can? :destroy, circulation_status -%>
        <%= link_to t('page.destroy'), circulation_status, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <%- if can? :create, CirculationStatus -%>
      <li><%= link_to t('page.new', :model => t('activerecord.models.circulation_status')), new_circulation_status_path -%></li>
    <%- end -%>
  </ul>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
enju_circulation-0.0.67 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.66 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.65 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.64 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.63 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.62 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.61 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.60 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.59 app/views/circulation_statuses/index.html.erb
enju_circulation-0.0.58 app/views/circulation_statuses/index.html.erb