Sha256: 5bb1661e66aa88b598f123cbdb649066eaee88752e775f7243498630aefdfa7d

Contents?: true

Size: 809 Bytes

Versions: 7

Compression:

Stored size: 809 Bytes

Contents

<div class="form__wrapper">
  <div class="card pt-4">
    <div class="card-section">
      <div class="row column">
        <%= form.translated :text_field, :title, autofocus: true, aria: { label: :title } %>
      </div>

      <div class="row column">
        <%= form.number_field :weight %>
      </div>

      <div class="row column">
        <%= form.translated :text_field, :description, aria: { label: :description } %>
      </div>

      <div class="row column">
        <%= form.select :attachment_collection_id, @form.attachment_collections.map { |c| [translated_attribute(c.name), c.id] }, include_blank: true %>
      </div>

      <div class="row column">
        <%= form.upload :file, button_class: "button button__sm button__transparent-secondary" %>
      </div>
    </div>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-admin-0.28.4 app/views/decidim/admin/attachments/_form.html.erb
decidim-admin-0.28.3 app/views/decidim/admin/attachments/_form.html.erb
decidim-admin-0.28.2 app/views/decidim/admin/attachments/_form.html.erb
decidim-admin-0.28.1 app/views/decidim/admin/attachments/_form.html.erb
decidim-admin-0.28.0 app/views/decidim/admin/attachments/_form.html.erb
decidim-admin-0.28.0.rc5 app/views/decidim/admin/attachments/_form.html.erb
decidim-admin-0.28.0.rc4 app/views/decidim/admin/attachments/_form.html.erb