Sha256: d7852cd40354e79f39851170cf945989bf3e67343dc2186136af6f7e1226fa1e
Contents?: true
Size: 1.38 KB
Versions: 7
Compression:
Stored size: 1.38 KB
Contents
<%= decidim_modal id: "access-code-modal" do %> <div data-dialog-container> <%= icon "lock-unlock-line" %> <h3 class="h3" id="dialog-title-access-code-modal" tabindex="-1" data-dialog-title> <%= t("title", scope: "decidim.votings.votings.access_code_modal") %> </h3> <p id="dialog-desc-access-code-modal"> <%= t("info", scope: "decidim.votings.votings.access_code_modal") %> </p> </div> <div data-dialog-actions> <% if email.empty? %> <button class="button button__sm md:button__lg button__secondary" disabled> <%= t("no_email", scope: "decidim.votings.votings.access_code_modal") %> </button> <% else %> <%= button_to t("email", scope: "decidim.votings.votings.access_code_modal", email:), voting_send_access_code_path(datum.dataset.voting, datum_id: datum, medium: "email"), class: "button button__sm md:button__lg button__secondary" %> <% end %> <% if sms.empty? %> <button class="button button__sm md:button__lg button__secondary" disabled> <%= t("no_sms", scope: "decidim.votings.votings.access_code_modal") %> </button> <% else %> <%= button_to t("sms", scope: "decidim.votings.votings.access_code_modal", sms:), voting_send_access_code_path(datum.dataset.voting, datum_id: datum, medium: "sms"), class: "button button__sm md:button__lg button__secondary" %> <% end %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems