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.pre22 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre21 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre20 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre19 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre18 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre17 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre16 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre15 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre14 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre13 app/views/patrons/index.mobile.erb
enju_biblio-0.1.0.pre12 app/views/patrons/index.mobile.erb