Sha256: c886d3afacada2c82fc7cc1b383c592a31a4e39215513f928626297c9f395364

Contents?: true

Size: 895 Bytes

Versions: 3

Compression:

Stored size: 895 Bytes

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.question')) -%></h1>

<div id="content_list">
  <%= form_for :questions, :url => questions_path, :html => {:method => 'get'} do -%>
    <p>
      <%= 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') -%>
    </p>
  <%- end -%>

  <%= render 'list' -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <%= render 'solved_facet' -%>
  <ul>
  <%- if can? :create, Question -%>
    <li><%= link_to t('question.my'), user_questions_path(current_user) -%></li>
    <li><%= link_to t('page.new', :model => t('activerecord.models.question')), new_question_path -%></li>
  <%- end -%>
  </ul>
  <%= render 'crd' -%>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_question-0.1.0.pre3 app/views/questions/_index.html.erb
enju_question-0.1.0.pre2 app/views/questions/_index.html.erb
enju_question-0.1.0.pre app/views/questions/_index.html.erb