Sha256: c1d49fd0c6453a6577f488f86a0ecdabd1f49eb0ccbf29b57bd624cd7da71c1c

Contents?: true

Size: 564 Bytes

Versions: 24

Compression:

Stored size: 564 Bytes

Contents

<% if question.sorted_results.any? %>
  <div class=row>
    <h2 class=section-heading><%= t "questions.results.title", scope: "decidim" %></h2>
    <div class="card card--list">
      <% question.sorted_results.each do |response| %>
        <div class=card--list__item>
          <div class="card--list__text"><%= translated_attribute response.title %></div>
          <div class="card--list__data">
            <span class="card--list__data__number"><%= response.votes_count %></span>
          </div>
        </div>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
decidim-consultations-0.11.2 app/views/decidim/consultations/questions/_results.html.erb
decidim-consultations-0.12.0.pre app/views/decidim/consultations/questions/_results.html.erb
decidim-consultations-0.11.1 app/views/decidim/consultations/questions/_results.html.erb
decidim-consultations-0.11.0.pre1 app/views/decidim/consultations/questions/_results.html.erb