Sha256: 9eeb27be6d0d3c7fbe7728e7100704bd5d32b2b126df8cf6252ade731d4642b3

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 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>

  <%= render partial: "decidim/action_delegator/callout", locals: { consultation: question.consultation } %>

  <p><%= t "questions.vote_modal.contextual_help", scope: "decidim" %></p>
  <div class="card card--secondary">
    <div class="card__content">
      <h4 class="heading5 text-center"><%= translated_attribute(question.title).html_safe %></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

4 entries across 4 versions & 1 rubygems

Version Path
decidim-action_delegator-0.6.0 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-action_delegator-0.5.0 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-action_delegator-0.4.1 app/views/decidim/consultations/questions/_vote_modal.html.erb
decidim-action_delegator-0.4 app/views/decidim/consultations/questions/_vote_modal.html.erb