Sha256: e53e5710bde301f526452d726c910ada7dea06b77f4b112eeb988297cc77b982

Contents?: true

Size: 774 Bytes

Versions: 19

Compression:

Stored size: 774 Bytes

Contents

<div data-role="header">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.question')) -%></h1>
</div>

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

<ul data-role="listview">
<% @questions.each do |question| %>
  <li><%= link_to truncate(question.body, :length => 60), question -%></li>
<% end %>
</ul>

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_question-0.0.21 app/views/questions/index.mobile.erb
enju_question-0.0.20 app/views/questions/index.mobile.erb
enju_question-0.0.19 app/views/questions/index.mobile.erb
enju_question-0.0.18 app/views/questions/index.mobile.erb
enju_question-0.0.17 app/views/questions/index.mobile.erb
enju_question-0.0.16 app/views/questions/index.mobile.erb
enju_question-0.0.15 app/views/questions/index.mobile.erb
enju_question-0.0.14 app/views/questions/index.mobile.erb
enju_question-0.0.13 app/views/questions/index.mobile.erb
enju_question-0.0.12 app/views/questions/index.mobile.erb
enju_question-0.0.11 app/views/questions/index.mobile.erb
enju_question-0.0.10 app/views/questions/index.mobile.erb
enju_question-0.0.9 app/views/questions/index.mobile.erb
enju_question-0.0.8 app/views/questions/index.mobile.erb
enju_question-0.0.7 app/views/questions/index.mobile.erb
enju_question-0.0.6 app/views/questions/index.mobile.erb
enju_question-0.0.5 app/views/questions/index.mobile.erb
enju_question-0.0.4 app/views/questions/index.mobile.erb
enju_question-0.0.3 app/views/questions/index.mobile.erb