app/views/decidim/initiatives/initiatives/_form.html.erb in decidim-initiatives-0.24.3 vs app/views/decidim/initiatives/initiatives/_form.html.erb in decidim-initiatives-0.25.0.rc1

- old
+ new

@@ -68,11 +68,11 @@ <legend><%= t("attachment_legend", scope: "decidim.initiatives.form") %></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.file.filename %> + <%= 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_attachment", scope: "decidim.initiatives.form") %>" title="<%= t("delete_attachment", scope: "decidim.initiatives.form") %>" type="button" @@ -107,6 +107,6 @@ <% if current_initiative.type.promoting_committee_enabled? %> <%= render partial: "committee_members" %> <% end %> -<%= javascript_include_tag "decidim/initiatives/scoped_type" %> +<%= javascript_pack_tag "decidim_initiatives" %>