Sha256: faa56e31e433721c558f2ed614525895ae93b3c2f48b911e45eef7a159de586c

Contents?: true

Size: 1.35 KB

Versions: 6

Compression:

Stored size: 1.35 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: params[:redirect_url])) do |form| %>
              <%= form.error_for(:base) %>

              <% if lookup_context.exists?(handler.to_partial_path, [], true) %>
                <%= render partial: handler.to_partial_path, locals: { handler: handler, form: form } %>
              <% else %>
                <%= form.all_fields %>
                <div class="actions">
                  <%= form.submit t(".authorize"), class: "button expanded" %>
                </div>
              <% end %>
            <% 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

6 entries across 6 versions & 1 rubygems

Version Path
decidim-verifications-0.10.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.10.0 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.9.3 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.9.2 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.9.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.9.0 app/views/decidim/verifications/authorizations/new.html.erb