Sha256: 4660901226ef848e8bbebbd9e0d21614933539f5d157f9e8a09a289a0cc3658e

Contents?: true

Size: 1.4 KB

Versions: 13

Compression:

Stored size: 1.4 KB

Contents

<div class="text-center py-10">
  <h1 class="title-decorator inline-block text-left">
    <%= t("decidim.verifications.authorizations.new.authorize_with", authorizer: t("#{handler.handler_name}.name", scope: "decidim.authorization_handlers")) %>
  </h1>
</div>

<%= authorization_form_for(handler, url: authorizations_path(redirect_url:)) do |form| %>
  <% if lookup_context.exists?(handler.to_partial_path, [], true) %>
        <%= render partial: handler.to_partial_path, locals: { handler:, form: } %>
  <% else %>
    <div class="form__wrapper">
      <%= form.all_fields %>
    </div>
  <% end %>

  <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between">
    <%= link_to authorizations_path, class: "button button__sm md:button__lg button__text-secondary" do %>
      <%= icon "arrow-left-line", class: "fill-current" %>
      <span><%= t("decidim.wizard_step_form.wizard_aside.back") %></span>
    <% end %>
    <button type="submit" class="button button__sm md:button__lg button__secondary">
      <span><%= t("decidim.verifications.authorizations.new.authorize") %></span>
      <%= icon "arrow-right-line", class: "fill-current" %>
    </button>
  </div>

  <p class="prose prose-a:text-secondary">
    <%= t("decidim.verifications.authorizations.skip_verification", link: link_to(t("decidim.verifications.authorizations.start_exploring"), cta_button_path).html_safe).html_safe %>.
  </p>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-verifications-0.29.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.4 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.29.0 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.3 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.29.0.rc4 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.29.0.rc3 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.29.0.rc2 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.29.0.rc1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.2 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.1 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.0 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.0.rc5 app/views/decidim/verifications/authorizations/new.html.erb
decidim-verifications-0.28.0.rc4 app/views/decidim/verifications/authorizations/new.html.erb