Sha256: 60f3e4510c3ab4c369479b10865750189db0dbeffc50affab424bb2e2511e0ad
Contents?: true
Size: 1.89 KB
Versions: 7
Compression:
Stored size: 1.89 KB
Contents
<% if current_census.csv_row_raw_count != current_census.data.size %> <% info_message = t("generate_access_codes.info_message_warn", scope: "decidim.votings.census.admin.census", data_count: current_census.data.size, raw_count: current_census.csv_row_raw_count, file: current_census.filename) %> <% callout_class = "warning" %> <% else %> <% info_message = t("generate_access_codes.info_message_all", scope: "decidim.votings.census.admin.census", data_count: current_census.data.size, raw_count: current_census.csv_row_raw_count, file: current_census.filename) %> <% callout_class = "success" %> <% end %> <div class="card-section"> <%= cell("decidim/announcement", info_message, callout_class: ) %> <% if current_census.data.size.zero? %> <%= cell("decidim/announcement", t("generate_access_codes.start_over", scope: "decidim.votings.census.admin.census"), callout_class: "warning" ) %> <%= link_to t("delete.button", scope: "decidim.votings.census.admin.census"), admin_voting_census_path, class: "button button__sm button__secondary alert destroy", method: :delete, data: { confirm: t("delete.confirm", scope: "decidim.votings.census.admin.census") } %> <% else %> <%= cell("decidim/announcement", t("generate_access_codes.callout", scope: "decidim.votings.census.admin.census"), callout_class: "warning" ) %> <%= link_to t("generate_access_codes.button", scope: "decidim.votings.census.admin.census"), generate_access_codes_path, class: "button button__sm button__secondary", data: { confirm: t("generate_access_codes.confirm", scope: "decidim.votings.census.admin.census") } %> <% end %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems