Sha256: b6d35784d59646fd30797858d23bebdf1b2ea8c1cfc2f281c7e4e0938ba91874

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

<% add_decidim_page_title(t(".introduce_user_data")) %>

<div class="item_show__header">
  <h2 class="item_show__header-title">
    <%= t(".introduce_user_data") %>
    <%= link_to t(".reject"), pending_authorization_rejection_path(@pending_authorization), method: :post, class: "button button__sm button__secondary alert tiny button--title destroy" %>
  </h2>
</div>

<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= decidim_form_for(@form, url: pending_authorization_confirmation_path(@pending_authorization),
                                html: { class: "form form-defaults" }) do |form| %>
      <div class="form__wrapper">
        <div class="card">
          <div class="card-divider"></div>

          <div class="card-section">
            <div class="row column">
              <%= image_tag @pending_authorization.attached_uploader(:verification_attachment).variant_path(:big), class: "thumbnail" %>
            </div>

            <div class="row column">
              <%= form.select :document_type, @form.document_types_for_select, prompt: true, selected: nil %>
            </div>

            <div class="row column">
              <%= form.text_field :document_number, value: nil %>
            </div>

            <%= form.hidden_field :verification_type, value: :online %>
          </div>
        </div>
      </div>

      <div class="item__edit-sticky">
        <div class="item__edit-sticky-container">
          <%= form.submit t(".verify"), class: "button button__sm button__secondary" %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-verifications-0.28.0 app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb
decidim-verifications-0.28.0.rc5 app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb
decidim-verifications-0.28.0.rc4 app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb