Sha256: 5bc4b7402aa8e58fdb198886f01d1d6365423a94ef3e93e4a93232853e962acf
Contents?: true
Size: 830 Bytes
Versions: 19
Compression:
Stored size: 830 Bytes
Contents
<div class="row column gallery__container"> <fieldset> <legend><%= t(".gallery_legend") %></legend> <% if @form.photos.any? %> <% @form.photos.each do |photo| %> <div class="callout gallery__item" data-closable> <%= image_tag photo.thumbnail_url, class: "thumbnail", alt: photo.file.filename %> <%= form.hidden_field :photos, multiple: true, value: photo.id, id: "photo-#{photo.id}" %> <button class="close-button" aria-label="<%= t(".delete_image") %>" title="<%= t(".delete_image") %>" type="button" data-close> <span aria-hidden="true">×</span> </button> </div> <% end %> <% end %> <div class="row column"> <%= form.file_field :add_photos, multiple: true, label: t(".add_images") %> </div> </fieldset> </div>
Version data entries
19 entries across 19 versions & 1 rubygems