decidim-admin/app/views/decidim/admin/attachments/new.html.erb in decidim-0.0.6 vs decidim-admin/app/views/decidim/admin/attachments/new.html.erb in decidim-0.0.7
- old
+ new
@@ -1,9 +1,7 @@
-<h3><%= t ".title" %></h3>
+<%= decidim_form_for(@form, url: url_for([attached_to, @form]), html: { class: "form new_participatory_process_attachment" }) do |f| %>
+ <%= render partial: 'decidim/admin/attachments/form', object: f, locals: { title: t(".title") } %>
-<%= decidim_form_for(@form, url: [attached_to, @form]) do |f| %>
- <%= render partial: 'decidim/admin/attachments/form', object: f %>
-
- <div class="actions">
+ <div class="button--double form-general-submit">
<%= f.submit t(".create") %>
</div>
<% end %>