Sha256: 46a18abd7f9d6b90d70f6a88e972a1129516d0b4b60640ee34bed4de604d08ec

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 KB

Contents

<% add_decidim_meta_tags(title: t("votings.index.title", scope: "decidim.votings")) %>

<%
edit_link(
  decidim_admin_votings.votings_path,
  :read,
  :voting
)
%>

<%# NOTE: use elections pack since the styles are placed there %>
<%= append_stylesheet_pack_tag "decidim_elections" %>

<%= render layout: "layouts/decidim/shared/layout_center" do %>
  <div class="text-center py-10">
    <h1 class="title-decorator inline-block text-left mb-12">
      <%= t("title", scope: "decidim.votings.votings.elections_log") %>
    </h1>

    <div class="text-lg text-gray-2 text-left">
      <%= t("description", scope: "decidim.votings.votings.elections_log") %>
    </div>
  </div>

  <% elections.each do |election| %>
    <div class="election-log__entry" data-log-entry>
      <span class="election-log__time"><%= election.start_time %></span>

      <h2 class="h4 text-secondary">
        <%= translated_attribute(election.title) %>
        <span class="label"><%= election.bb_status.to_s.titlecase %></span>
      </h2>

      <%= translated_attribute(election.description).html_safe %>
    </div>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/votings/votings/elections_log.html.erb
decidim-elections-0.28.3 app/views/decidim/votings/votings/elections_log.html.erb
decidim-elections-0.28.2 app/views/decidim/votings/votings/elections_log.html.erb
decidim-elections-0.28.1 app/views/decidim/votings/votings/elections_log.html.erb
decidim-elections-0.28.0 app/views/decidim/votings/votings/elections_log.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/votings/votings/elections_log.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/votings/votings/elections_log.html.erb