Sha256: 7a145e01e6a30737744deca700376f38513ca193549d44cb6b08482f91648d19

Contents?: true

Size: 1.15 KB

Versions: 31

Compression:

Stored size: 1.15 KB

Contents

<div class="reveal" data-reveal id="access-code-modal">
  <div class="reveal__header">
    <h3 class="reveal__title"><%= t(".title") %></h3>
    <button class="close-button" data-close aria-label="Close modal" type="button">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  <p>
    <%= t(".info") %>
  </p>
  <div class="row">
    <div class="columns medium-8 medium-offset-2">
      <% if email.empty? %>
        <button class="disabled button hollow expanded">
          <%= t(".no_email") %>
        </button>
      <% else %>
        <%= button_to t(".email", email: email), voting_send_access_code_path(datum.dataset.voting, datum_id: datum, medium: "email"), class: "button hollow expanded" %>
      <% end %>
    </div>
  </div>
  <div class="row">
    <div class="columns medium-8 medium-offset-2">
      <% if sms.empty? %>
        <button class="disabled button hollow expanded">
          <%= t(".no_sms") %>
        </button>
      <% else %>
        <%= button_to t(".sms", sms: sms), voting_send_access_code_path(datum.dataset.voting, datum_id: datum, medium: "sms"), class: "button hollow expanded" %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-elections-0.27.9 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.8 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.7 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.6 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.10 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.9 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.5 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.8 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.4 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.3 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.7 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.5 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.2 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.1 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.4 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.0 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.3 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.0.rc2 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.27.0.rc1 app/views/decidim/votings/votings/_access_code_modal.html.erb
decidim-elections-0.26.2 app/views/decidim/votings/votings/_access_code_modal.html.erb