Sha256: d7e9ef6b3295bb238c226a5385409af508fb84f2b6b131591f6cc68cddc24782

Contents?: true

Size: 739 Bytes

Versions: 31

Compression:

Stored size: 739 Bytes

Contents

<div data-role="header">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.patron')) -%></h1>
</div>

<div data-role="content">
  <div data-role="fieldcontain">
    <%= form_for :patrons, :url => patrons_path, :html => {:method => 'get'} do -%>
      <p>
        <%= label_tag :search_form_top, 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>
</div>

<ul data-role="listview">
  <%- @patrons.each do |patron| -%>
    <li><%= link_to patron.full_name, patron %></li>
  <%- end -%>
</ul>

<%= paginate(@patrons) %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre41 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre40 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre39 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre38 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre37 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre36 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre35 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre34 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre33 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre32 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre31 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre30 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre29 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre28 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre27 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre26 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre25 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre24 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre23 app/views/patrons/index.mobile.erb