Sha256: 4089b007da9fbf21d738b5b53506da8e22029e3fd4b837731cd2a184ddbbca95

Contents?: true

Size: 1.47 KB

Versions: 10

Compression:

Stored size: 1.47 KB

Contents

<% add_decidim_page_title(t(".title")) %>
<div class="item_show__header">
  <h1 class="item_show__header-title">
    <%= t(".title") %>
  </h1>
</div>
<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= decidim_form_for(@import, url: import_participatory_texts_path, html: { class: "form form-defaults grid-container" }) do |form| %>
      <div class="form__wrapper">
        <div class="card pt-4">
          <div class="card-section">
            <div id="import-title" class="row column">
              <%= form.translated :text_field, :title, autofocus: true, aria: { label: :title } %>
            </div>

            <div id="import-desc" class="row column">
              <%= form.translated :text_area, :description, aria: { label: :description } %>
            </div>

            <div class="row column">
              <%= form.upload :document, help_text: t(".document_legend", valid_mime_types: mime_types_with_document_examples).html_safe, button_class: "button button__sm button__transparent-secondary" %>
            </div>
          </div>
        </div>
        <div class="item__edit-sticky">
          <div class="item__edit-sticky-container">
            <div class="flex-col-reverse md:flex-row justify-between text-white">
              <%= t(".bottom_hint") %>
              <%= form.submit t(".upload_document"), class: "button button__sm button__secondary" %>
            </div>
          </div>
        </div>
      </div>
    <% end -%>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.28.4 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb