Sha256: 625e7a51a1070f61a40e364a3ed5a628fe201ed928e6da7108d03fca88e4d0a6

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= t("admin.index.title", scope: "decidim.verifications.csv_census") %>
    </h2>
  </div>
  <div class="card-section">
    <% if @status.count > 0 %>
      <p><%= t("decidim.verifications.csv_census.admin.index.data", count: @status.count,
        due_date: l(@status.last_import_at, format: :long)) %>
      </p>
      <%= link_to t("decidim.verifications.csv_census.admin.destroy.title"),
        destroy_all_census_path,
        method: :delete,
        class: "button alert",
        data: { confirm: t("decidim.verifications.csv_census.admin.destroy.confirm") } %>
      <% else %>
        <p><%= t("admin.index.empty", scope: "decidim.verifications.csv_census") %></p>
    <% end %>
  </div>
</div>

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= t("admin.new.title", scope: "decidim.verifications.csv_census") %>
    </h2>
  </div>
  <div class="card-section">
    <p><%= t("decidim.verifications.csv_census.admin.new.info") %></p>
    <%= form_tag census_path, multipart: true, class: "form" do %>
      <%= label_tag :name, t("admin.new.file", scope: "decidim.verifications.csv_census") %>
      <%= file_field_tag :file %>
      <%= submit_tag t("admin.new.submit", scope: "decidim.verifications.csv_census"), class: "button" %>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-verifications-0.18.1 app/views/decidim/verifications/csv_census/admin/census/index.html.erb
decidim-verifications-0.17.2 app/views/decidim/verifications/csv_census/admin/census/index.html.erb
decidim-verifications-0.18.0 app/views/decidim/verifications/csv_census/admin/census/index.html.erb
decidim-verifications-0.17.1 app/views/decidim/verifications/csv_census/admin/census/index.html.erb
decidim-verifications-0.17.0 app/views/decidim/verifications/csv_census/admin/census/index.html.erb