Sha256: 0d11333437a42342d647a8a27e85e3297a552c0fca3cb1c4d2d23933f563bea9

Contents?: true

Size: 800 Bytes

Versions: 9

Compression:

Stored size: 800 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 for="search_form_top"><%= t('page.search_term') -%>:</label>
        <%= 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>

<%= will_paginate(@patrons, :renderer => WillPaginateJqueryMobileRenderer) %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enju_biblio-0.0.9 app/views/patrons/index.mobile.erb
enju_biblio-0.0.8 app/views/patrons/index.mobile.erb
enju_biblio-0.0.7 app/views/patrons/index.mobile.erb
enju_biblio-0.0.6 app/views/patrons/index.mobile.erb
enju_biblio-0.0.5 app/views/patrons/index.mobile.erb
enju_biblio-0.0.4 app/views/patrons/index.mobile.erb
enju_biblio-0.0.3 app/views/patrons/index.mobile.erb
enju_biblio-0.0.2 app/views/patrons/index.mobile.erb
enju_biblio-0.0.1 app/views/patrons/index.mobile.erb