Sha256: d2391d1ac880b8c300aa7aefb9f01c3a33c82fd6c89c47bbcffc5d903d5346fe

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

<% add_decidim_page_title(t(".title")) %>
<div class="card">
  <div class="item_show__header">
    <h1 class="item_show__header-title">
      <%= t(".title") %>
        <%= link_to t(".config"), edit_config_path, class: "button button__sm button__secondary" %>
        <%= link_to t(".offline_verification"), new_offline_confirmation_path, class: "button button__sm button__secondary" if has_offline_method? %>
    </h1>
  </div>
  <div class="table-scroll">
    <table class="table-list">
      <thead>
        <tr>
          <th><%= t("activemodel.attributes.id") %></th>
          <th><%= t("activemodel.attributes.id_document_upload.verification_attachment") %></th>
        </tr>
      </thead>
      <tbody>
        <% @pending_online_authorizations.each do |authorization| %>
          <tr>
            <td>
              <%= link_to t(".verification_number", n: authorization.id),
                          new_pending_authorization_confirmation_path(authorization.id) %>
            </td>
            <td>
              <%= link_to new_pending_authorization_confirmation_path(authorization.id) do %>
                <%= image_tag authorization.attached_uploader(:verification_attachment).variant_path(:thumbnail), class: "thumbnail-list" %>
              <% end %>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-verifications-0.29.0.rc3 app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb
decidim-verifications-0.29.0.rc2 app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb
decidim-verifications-0.29.0.rc1 app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb
decidim-verifications-0.28.2 app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb
decidim-verifications-0.28.1 app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb