Sha256: 9bb5f53f4e1dfafadcf07cd0eaf894ec910895251b608a266ea4844694eadf93
Contents?: true
Size: 698 Bytes
Versions: 15
Compression:
Stored size: 698 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_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"> <% @questions.each do |question| %> <li><%= link_to truncate(question.body, length: 60), question -%></li> <% end %> </ul> <%= paginate(@questions) %>
Version data entries
15 entries across 15 versions & 1 rubygems