<%= t("decidim.verifications.id_documents.authorizations.new.title") %>
<%= cell("decidim/announcement", announcement_title(authorization), callout_class: authorization.rejected? ? "alert" : "secondary" ) %>
<% unless using_online? %>
<%= translated_attribute(current_organization.id_documents_explanation_text).html_safe %>
<% end %>
<%= decidim_form_for(@form, url: authorization_path, method: :put) do |form| %>
<%= render partial: "form", locals: { form: } %>
<%= link_to decidim_verifications.authorizations_path, class: "button button__sm md:button__lg button__text-secondary" do %>
<%= icon "arrow-left-line", class: "fill-current" %>
<%= t("decidim.wizard_step_form.wizard_aside.back") %>
<% end %>
<% if available_methods.count > 1 %>
<%= link_to t("decidim.verifications.id_documents.authorizations.edit.offline"), { action: :edit, using: :offline }, class: "text-secondary" if using_online? %>
<%= link_to t("decidim.verifications.id_documents.authorizations.edit.online"), { action: :edit, using: :online }, class: "text-secondary" if using_offline? %>
<% end %>
<% end %>