Sha256: fa6f11a4b638799860c5f4221d3dd399277b92db8ef03b01a7803f574630b4c6

Contents?: true

Size: 557 Bytes

Versions: 11

Compression:

Stored size: 557 Bytes

Contents

<div id="crd">
<%- if @crd_results -%>
  <h4><%= link_to t('question.crd'), "http://crd.ndl.go.jp/" -%></h4>
  <p><%= t('question.number_of_search_results', :count => @crd_results.total_count) -%><br />
  <ul>
    <%- @crd_results.each do |result| -%>
      <li><%= link_to h(truncate(result[:question])), result[:url] -%></li>
    <%- end -%>
  </ul>
  <%= paginate(@crd_results, :param_name => :crd_page, :remote => true, :window => 1) -%>
<%- else -%>
  <p><%= link_to t('question.you_can_search_crd'), "http://crd.ndl.go.jp/" -%></p>
<%- end -%>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

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