Sha256: 138587cf93445c082f915017987ace9758ec6f6f4931a94b4b28ea64e3ac521f

Contents?: true

Size: 1.23 KB

Versions: 55

Compression:

Stored size: 1.23 KB

Contents

<%= decidim_form_for(@import, url: import_participatory_texts_path, class: "form grid-container") do |form| %>
  <div class="card">
    <div class="card-divider">
      <h2 class="card-title"><%= t(".title") %></h2>
    </div>
    <div class="card-section">
      <div class="grid-x">
        <div class="cell">
          <div id="import-title" class="row column">
            <%= form.translated :text_field, :title, autofocus: true %>
          </div>
        </div>
      </div>
      <div class="grid-x">
        <div class="cell">
          <div id="import-desc" class="row column">
            <%= form.translated :text_area, :description %>
          </div>
        </div>
      </div>
      <div class="grid-x">
        <div class="cell">
          <fieldset>
            <legend> <%= t(".document_legend", valid_mime_types: mime_types_with_document_examples).html_safe %> </legend>
              <div class="row column">
                <%= form.upload :document, optional: false %>
              </div>
          </fieldset>
        </div>
      </div>
    </div>
  </div>
  <div class="grid-x align-center mt-sm">
    <%= form.submit t(".upload_document") %>
  </div>
  <div class="grid-x align-center">
    <%= t(".bottom_hint") %>
  </div>
<% end -%>

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
decidim-enhanced_textwork-1.0.1 app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.0.rc1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-enhanced_textwork-1.0.0 app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.0.rc4 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.0.rc3 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.0.rc2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.25.0.rc1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.24.3 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.23.6 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.24.2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.23.5 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.24.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.24.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.24.0.rc2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.23.4 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.24.0.rc1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.23.3 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb