Sha256: ecfebf77a8b36372ee21a38ef2e31af5b8de43999bdfa5d02c472e33c9412a98

Contents?: true

Size: 874 Bytes

Versions: 4

Compression:

Stored size: 874 Bytes

Contents

<div class="card">
  <% if group %>
    <div class="card__top">
      <div class="card__content">
        <h5 class="card__title"><%= translated_attribute group.title %></h5>
      </div>
    </div>
  <% end %>

  <% if delegation %>
    <div class="delegation-callout callout warning">
      <p><%= t "action_delegator.delegations_modal.callout", scope: "decidim" %> <strong><%= delegation.granter.name %></strong></p>
    </div>
  <% end %>

  <div class="card__content multiple_votes_form">
    <% responses.each do |response| %>
      <div>
        <%= check_box_tag "responses[]", response.id, false, id: "vote_id_#{response.id}" %>
        <%= form.label :id, translated_attribute(response.title), for: "vote_id_#{response.id}" %>
      </div>
    <% end %>
    <%= hidden_field_tag :decidim_consultations_delegation_id, delegation.id if delegation %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

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