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