Sha256: a73aaac68fce90a36ec1a86d4da40ce24301ac306a9a5cb54511936e4119e0fb

Contents?: true

Size: 923 Bytes

Versions: 8

Compression:

Stored size: 923 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>
      <%= 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">
  <%= 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

8 entries across 8 versions & 1 rubygems

Version Path
enju_question-0.1.0.pre11 app/views/questions/_index.html.erb
enju_question-0.1.0.pre10 app/views/questions/_index.html.erb
enju_question-0.1.0.pre9 app/views/questions/_index.html.erb
enju_question-0.1.0.pre8 app/views/questions/_index.html.erb
enju_question-0.1.0.pre7 app/views/questions/_index.html.erb
enju_question-0.1.0.pre6 app/views/questions/_index.html.erb
enju_question-0.1.0.pre5 app/views/questions/_index.html.erb
enju_question-0.1.0.pre4 app/views/questions/_index.html.erb