Sha256: ad1c7d0d352a8156135fdf9d40e3174b880e8d95bee50252d1de5bbbe581b1e0

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 KB

Contents

<main class="wrapper">
  <div class="row collapse">
    <div class="row collapse">
      <div class="columns large-8 large-centered text-center page-title">
        <h1><%= t(".authorize_with", authorizer: t("#{handler.handler_name}.name", scope: "decidim.authorization_handlers")) %></h1>
      </div>
    </div>

    <div class="row">
      <div class="columns large-6 medium-centered">
        <div class="card">
          <div class="card__content">
            <%= authorization_form_for(handler, url: authorizations_path(redirect_url: redirect_url)) do |form| %>
              <% if lookup_context.exists?(handler.to_partial_path, [], true) %>
                <%= render partial: handler.to_partial_path, locals: { handler: handler, form: form } %>
              <% else %>
                <%= form.all_fields %>
              <% end %>

              <div class="actions">
                <%= form.submit t(".authorize"), class: "button expanded" %>
              </div>
            <% end %>
            <p class="text-center skip">
              <%= t("decidim.verifications.authorizations.skip_verification", link: link_to(t("decidim.verifications.authorizations.start_exploring"), cta_button_path).html_safe).html_safe %>.
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</main>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-verifications-0.21.0 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.20.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.20.0 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.19.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.19.0 app/views/decidim/verifications/authorizations/new.html.erb