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-proposals-0.26.10 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.9 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.8 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.7 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.5 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.27.2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.27.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.4 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.27.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.3 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.27.0.rc2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.27.0.rc1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-enhanced_textwork-1.0.5 app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
decidim-enhanced_textwork-1.0.4 app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
decidim-enhanced_textwork-1.0.3 app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
decidim-enhanced_textwork-1.0.2 app/views/decidim/enhanced_textwork/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.26.0.rc2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb