Sha256: 3fafb4c1de7f5a5cfc0e944eaac786121343ed815085cfedda819c9afb4ca1c9

Contents?: true

Size: 764 Bytes

Versions: 3

Compression:

Stored size: 764 Bytes

Contents

<div data-role="header">
<h1 class="title"><%= t('page.search_resource', :model => t('page.resource')) -%></h1>
</div>

<div data-role="content">
  <div data-role="fieldcontain">
    <%= form_for :manifestations, :html => {:method => 'get'} do -%>
      <%= 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') -%>
    <% end %>
  </div>
</div>

<ul data-role="listview">
<% @manifestations.each do |manifestation| %>
  <li><%= link_to manifestation.original_title, manifestation %></li>
<% end %>
</ul>

<%= paginate(@manifestations, :window => 0, :theme => 'enju_leaf_mobile') %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_flower-0.1.0.pre16 app/views/manifestations/index.mobile.erb
enju_flower-0.1.0.pre15 app/views/manifestations/index.mobile.erb
enju_flower-0.1.0.pre14 app/views/manifestations/index.mobile.erb