Sha256: 37ff5aa586cd6ce17a9674acc1b5c3e10ceee5ecfce1192130e363300f25757a

Contents?: true

Size: 943 Bytes

Versions: 9

Compression:

Stored size: 943 Bytes

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<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>
      <%= 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') -%>
    </p>
  <%- end -%>

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

<div id="submenu" class="ui-corner-all ui-widget-content">
  <%= render 'solved_facet' -%>
  <ul>
  <%- if policy(Question).create? -%>
    <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

9 entries across 9 versions & 1 rubygems

Version Path
enju_question-0.3.2 app/views/questions/_index.html.erb
enju_question-0.3.1 app/views/questions/_index.html.erb
enju_question-0.3.0 app/views/questions/_index.html.erb
enju_question-0.3.0.beta.1 app/views/questions/_index.html.erb
enju_question-0.2.0 app/views/questions/_index.html.erb
enju_question-0.2.0.beta.4 app/views/questions/_index.html.erb
enju_question-0.2.0.beta.3 app/views/questions/_index.html.erb
enju_question-0.2.0.beta.2 app/views/questions/_index.html.erb
enju_question-0.2.0.beta.1 app/views/questions/_index.html.erb