Sha256: 159d6bdb14340ee2fe4fbbab6ba6fa782ccb129e2c65833fbcc149ce2614583d

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 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>

<%= 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

11 entries across 11 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre11 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre10 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre9 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre8 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre7 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre6 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre5 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre4 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre3 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre2 app/views/patrons/_index.html.erb
enju_biblio-0.1.0.pre app/views/patrons/_index.html.erb