Sha256: d9c816cb3090d30e9ac85ec9dad5984a72ca94b0856035d46dadc0bf1df55001

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 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.authorizations.skip_verification", link: link_to(t("decidim.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-core-0.7.4 app/views/decidim/authorizations/new.html.erb
decidim-core-0.7.3 app/views/decidim/authorizations/new.html.erb
decidim-core-0.7.2 app/views/decidim/authorizations/new.html.erb
decidim-core-0.7.1 app/views/decidim/authorizations/new.html.erb
decidim-core-0.7.0 app/views/decidim/authorizations/new.html.erb