Sha256: e8d68ed8329e6d7fbe2529998232c6d0378e3bc8aac95cd17dd3c68487100bb7

Contents?: true

Size: 1.6 KB

Versions: 10

Compression:

Stored size: 1.6 KB

Contents

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

<table class="index">
  <tr>
    <th><%= t('activerecord.models.item') -%></th>
    <th><%= t('activerecord.models.user_group') -%></th>
    <th><%= t('activerecord.attributes.lending_policy.loan_period') -%></th>
    <th><%= t('activerecord.attributes.lending_policy.fixed_due_date') -%></th>
    <th><%= t('activerecord.attributes.lending_policy.renewal') -%></th>
    <th><%= t('activerecord.attributes.lending_policy.fine') -%></th>
    <th></th>
  </tr>

<%- @lending_policies.each do |lending_policy| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to lending_policy.item.item_identifier, lending_policy.item -%><br />
      (<%= link_to lending_policy.item.manifestation.original_title, lending_policy.item.manifestation -%>)
    </td>
    <td><%= link_to lending_policy.user_group.display_name.localize, lending_policy.user_group -%></td>
    <td><%= lending_policy.loan_period -%></td>
    <td><%= lending_policy.fixed_due_date -%></td>
    <td><%= lending_policy.renewal -%></td>
    <td><%= lending_policy.fine -%></td>
    <td>
      <%= link_to t('page.show'), lending_policy -%>
      <%= link_to t('page.edit'), edit_lending_policy_path(lending_policy) -%>
      <%= link_to t('page.destroy'), lending_policy, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@lending_policies) -%>

</div>
</div>

<div id="submenu" class="ui-corner-all">
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

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