Sha256: b22c852a745bd100c9c2f3fc97e1244dd125d34e9f1aa9f0508e4c10c551d34b

Contents?: true

Size: 1.15 KB

Versions: 20

Compression:

Stored size: 1.15 KB

Contents

<div class="row column voting-rules">
  <div class="callout secondary">
    <div class="row">
      <div class="columns medium-8 large-9">
        <h3 class="heading3"><%= t(".title") %></h3>
        <ul>
          <li><%= t(".vote_limit.description", limit: question.max_votes) %></li>
          <li><%= t(".minimum_votes_per_user.description", votes: question.min_votes) %></li>
        </ul>
        <% if question.instructions %>
          <%= decidim_sanitize translated_attribute question.instructions %>
        <% end %>
      </div>
      <div class="columns medium-4 large-3">
        <div class="card card--nomargin text-center remaining-votes-counter">
          <div class="card__content">
            <span class="definition-data__title"><%= t(".vote_limit.left", limit: question.max_votes) %></span>
            <span id="remaining-votes-count" class="extra__suport-number">
              <%= question.max_votes %>
            </span>
            <span class="extra__suport-text"><%= t(".vote_limit.votes") %></span>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<%= javascript_include_tag "decidim/consultations/utils_multiple" %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
decidim-consultations-0.24.3 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.6 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.24.2 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.5 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.24.1 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.24.0 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.24.0.rc2 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.4 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.24.0.rc1 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.3 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.2 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.1 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.1.rc1 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.23.0 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.22.0 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.21.0 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.20.1 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.20.0 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.19.1 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb
decidim-consultations-0.19.0 app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb