Sha256: 8e9df1b114b916bbffcba904b1e91fb4d166041e210d135e9ca5b422b3997f18

Contents?: true

Size: 1.31 KB

Versions: 35

Compression:

Stored size: 1.31 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.current_participatory_processes"), stored_location).html_safe).html_safe %>.</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</main>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
decidim-core-0.6.8 app/views/decidim/authorizations/new.html.erb
decidim-0.6.8 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.7 app/views/decidim/authorizations/new.html.erb
decidim-0.6.7 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.6 app/views/decidim/authorizations/new.html.erb
decidim-0.6.6 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.5 app/views/decidim/authorizations/new.html.erb
decidim-0.6.5 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.4 app/views/decidim/authorizations/new.html.erb
decidim-0.6.4 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.3 app/views/decidim/authorizations/new.html.erb
decidim-0.6.3 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.2 app/views/decidim/authorizations/new.html.erb
decidim-0.6.2 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.1 app/views/decidim/authorizations/new.html.erb
decidim-0.6.1 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.6.0 app/views/decidim/authorizations/new.html.erb
decidim-0.6.0 decidim-core/app/views/decidim/authorizations/new.html.erb
decidim-core-0.5.1 app/views/decidim/authorizations/new.html.erb
decidim-0.5.1 decidim-core/app/views/decidim/authorizations/new.html.erb