Sha256: 679593f2ccb27eb92c88b39d22f4f34939e266c7a85b999f6e852bc1ce4bd3cc

Contents?: true

Size: 1.34 KB

Versions: 24

Compression:

Stored size: 1.34 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 %>
              <% 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

24 entries across 24 versions & 1 rubygems

Version Path
decidim-verifications-0.11.2 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.12.0.pre app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.11.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.11.0.pre1 app/views/decidim/verifications/authorizations/new.html.erb