Sha256: 3589ace85f3808ea41fba97bb7e2ec8221575a235ff1ad06ec1b43ad8909dab3

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 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") %></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

5 entries across 5 versions & 1 rubygems

Version Path
decidim-proposals-0.16.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.16.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.15.2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.15.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.15.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb