Sha256: 2a79f7c1255470fa942cdad1c609e77e215a2b53c763719b73b678c0dbf6bd44

Contents?: true

Size: 1.71 KB

Versions: 11

Compression:

Stored size: 1.71 KB

Contents

<div class="wrapper">
  <div class="row column">
    <div class="callout announcement <%= authorization.rejected? ? 'alert' : 'secondary' %>">
      <div class="row">
        <div class="columns medium-8 large-9">
          <% if authorization.rejected? %>
            <h3 class="heading3"><%= t(".rejection_notice") %></h3>
            <ul>
              <li><%= t(".rejection_correctness") %></li>
              <li><%= t(".rejection_clarity") %></li>
            </ul>
          <% else %>
            <h3><%= t(".being_reviewed") %></h3>
          <% end %>
        </div>
      </div>
    </div>
  </div>

  <% if authorization.rejected? %>
    <div class="row">
      <div class="columns large-6 medium-centered">
        <div class="row column">
          <div class="card">
            <div class="card__content">
              <%= decidim_form_for(@form, url: authorization_path, method: :put) do |form| %>
              <div class="card-section">
                <div class="field">
                  <%= form.select :document_type, @form.document_types_for_select, prompt: true %>
                </div>

                <div class="field">
                  <%= form.text_field :document_number %>
                </div>

                <div class="field">
                  <%= form.upload :verification_attachment, optional: false %>
                </div>
              </div>

              <div class="card-section">
                <div class="actions">
                  <%= form.submit t(".send"), class: "button expanded", "data-disable-with" => "#{t('.send')}..." %>
                </div>
              </div>
              <% end %>
            </div>
          </div>
        </div>
      </div>
    </div>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-verifications-0.10.1 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.10.0 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.9.3 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.9.2 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.9.1 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.9.0 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.8.4 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.8.3 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.8.2 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.8.1 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb
decidim-verifications-0.8.0 app/views/decidim/verifications/id_documents/authorizations/edit.html.erb