Sha256: 6c5d1bf232b1c5f299327d47f5897af102db61a94f388404a157f4acb9608c98

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

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

<div class="search_form">
  <%= form_for :patrons, :url => patrons_path, :html => {:method => 'get'} do -%>
    <p>
      <%= t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form', :placeholder => t('page.search_term')} -%>
      <%= submit_tag t('page.search') -%>
    </p>
  <%- end -%>
</div>

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.attributes.patron.full_name') -%></th>
    <th><%= t('activerecord.models.patron_type') -%></th>
    <th id="edit_icons"></th>
  </tr>
  <%= render @patrons %>
</table>

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

<div id="submenu" class="ui-corner-all">
  <ul>
    <%- if can? :create, Patron -%>
      <li><%= link_to t('patron.add'), new_patron_path -%></li>
      <% if defined?(EnjuResourceMerge) %>
        <li><%= link_to t('page.merge', :model => t('activerecord.models.patron')), patron_merge_lists_path -%></li>
      <% end %>
    <%- end -%>
  </ul>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.0.9 app/views/patrons/_index.html.erb
enju_biblio-0.0.8 app/views/patrons/_index.html.erb
enju_biblio-0.0.7 app/views/patrons/_index.html.erb
enju_biblio-0.0.6 app/views/patrons/_index.html.erb
enju_biblio-0.0.5 app/views/patrons/_index.html.erb
enju_biblio-0.0.4 app/views/patrons/_index.html.erb