Sha256: ff11ba4d18e7e02ef8b853a71dbd755120647c08dac52806bddac7dbfd852899

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

<% add_decidim_page_title(t(".title")) %>
<div class="item_show__header">
  <h2 class="item_show__header-title">
    <%= t(".title") %>
  </h2>
</div>
<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= form_for(@form, url: import_results_path, html: { class: "form form-defaults import_projects" }) do |form| %>
      <div class="card py-4">
        <div class="card-section space-y-4 prose max-w-full">
          <div class="row column">
            <p><%= t(".info",
                     link_new_status: new_status_path,
                     link_new_result: new_result_path,
                     link_export_csv: link_to(t(".download_export"),exports_path(current_component, id: "results", format: "CSV"), method: :post)
                   ).try("html_safe") %></p>
          </div>
          <div class="row column">
            <%= form.upload :file, button_class: "button button__sm button__transparent-secondary" %>
          </div>
        </div>
      </div>
      <div class="item__edit-sticky">
        <div class="item__edit-sticky-container">
          <%= submit_tag t(".import"), class: "button button__sm button__secondary" %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.28.0 app/views/decidim/accountability/admin/import_results/new.html.erb
decidim-accountability-0.28.0.rc5 app/views/decidim/accountability/admin/import_results/new.html.erb
decidim-accountability-0.28.0.rc4 app/views/decidim/accountability/admin/import_results/new.html.erb