Sha256: b81c2e13ad08d1ccf3277fc8a0a388e2c8da7caaa9afbe3f440a8bf6b9365f21

Contents?: true

Size: 748 Bytes

Versions: 11

Compression:

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

<%= paginate(@patrons) %>

Version data entries

11 entries across 11 versions & 1 rubygems

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