Sha256: 88cfa5cbc9beb584b8d296259841643b561e5b31dd6ba16356e64f71ed68fe86

Contents?: true

Size: 1.05 KB

Versions: 11

Compression:

Stored size: 1.05 KB

Contents

<div class="reveal" data-reveal id="question-vote-modal">
  <div class="reveal__header">
    <h3 class="reveal__title">
      <%= t "questions.vote_modal.title", scope: "decidim" %>
    </h3>
    <button class="close-button" data-close aria-label="<%= t "questions.vote_modal.close_modal", scope: "decidim" %>" type="button">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  <p><%= t "questions.vote_modal.contextual_help", scope: "decidim" %></p>
  <div class="card card--secondary">
    <div class="card__content">
      <h4 class="heading5 text-center"><%= decidim_sanitize translated_attribute(question.title), scrubber: Decidim::Consultations::QuestionTitleScrubber.new %></h4>
    </div>
  </div>

  <% question.responses.each do |response| %>
    <div class="row">
      <div class="columns medium-8 medium-offset-2">
        <button class="button hollow expanded response-title"
                data-response-id="<%= response.id %>">
          <%= translated_attribute response.title %>
        </button>
      </div>
    </div>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-consultations-0.27.9 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.27.8 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.27.7 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.27.6 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.26.10 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.26.9 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.27.5 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.26.8 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.27.4 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.27.3 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-consultations-0.26.7 app/views/decidim/consultations/questions/_vote_modal.html.erb