Sha256: e2826bc921bbc2b8c5a9739b0f312349a72974a21c1a1d07deb0098d8ae72107
Contents?: true
Size: 913 Bytes
Versions: 5
Compression:
Stored size: 913 Bytes
Contents
<%= decidim_form_for(@photo_form, url: decidim_admin_reporting_proposals.add_photos_path(id: proposal.id), method: :post, html: { multipart: true, class: "form edit_proposal proposal_form_admin" }) do |f| %> <div class="row column gallery__container"> <fieldset> <legend><%= t(".gallery_legend") %></legend> <% if proposal.photos.any? %> <div class="gallery row"> <% proposal.photos.each do |photo| %> <div class="callout gallery__item"> <%= f.hidden_field :photos, multiple: true, value: photo.id, id: "photo-#{photo.id}" %> </div> <% end %> </div> <% end %> <div class="row column"> <%= f.file_field :add_photos, multiple: true %> </div> <div class="actions"> <%= f.submit t(".action") %> </div> </fieldset> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems