Sha256: 5f81c7bfc42a0a4b5d5906d48b90b15a809563797bf7a00a9efc815129a56411

Contents?: true

Size: 1.01 KB

Versions: 10

Compression:

Stored size: 1.01 KB

Contents

<div class="row">
  <div class="columns large-8">
    <h2 class="section-heading"><%= t("decidim.elections.elections.preview.title") %></h2>

    <p><%= t("decidim.elections.elections.preview.description") %></p>

    <ul class="accordion mb-m evote__preview"
      data-accordion
      data-multi-expand="true"
      data-allow-all-closed="true">
      <% model.questions.each do |question| %>
        <li class="accordion-item evote__preview-question <%= " is-active" if model.questions.one? %>" data-accordion-item>
          <a href="#" class="accordion-title flex--sbc"><%= translated_attribute(question.title) %></a>

          <div class="accordion-content" data-tab-content>
            <strong><%= t("decidim.elections.elections.preview.available_answers") %></strong>

            <ul>
              <% question.answers.each do |answer| %>
                <li><%= translated_attribute(answer.title) %></li>
              <% end %>
            </ul>
          </div>
        </li>
      <% end %>
    </ul>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-elections-0.26.0 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.26.0.rc2 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.26.0.rc1 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.2 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.1 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.0 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.0.rc4 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.0.rc3 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.0.rc2 app/cells/decidim/elections/election_preview/show.erb
decidim-elections-0.25.0.rc1 app/cells/decidim/elections/election_preview/show.erb