Sha256: 531f85d0060e63d0a9ef271c738e06f14429013f757c04c2a63a150c758afbad
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
<h4><%= t('activerecord.attributes.question.solved') -%></h4> <ul> <%- @question_facet.each do |facet| -%> <% facet.value ? facet_solved = true : facet_solved = false %> <li> <%- if @solved == facet_solved -%><strong><%- end -%> <%= link_to localized_boolean(facet.value), url_for(params.merge(page: nil, :solved => facet.value.to_s, view: nil, only_path: true)) -%> (<%= facet.count -%>) <%- if @solved == facet_solved -%></strong><%- end -%> </li> <%- end -%> <%- if @solved -%> <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:solved => nil, page: nil, view: nil, only_path: true)) -%></li> <%- end -%> </ul>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_question-0.1.0.pre12 | app/views/questions/_solved_facet.html.erb |