app/views/decidim/admin/features/new.html.erb in decidim-admin-0.4.0 vs app/views/decidim/admin/features/new.html.erb in decidim-admin-0.4.1
- old
+ new
@@ -1,6 +1,6 @@
-<%= decidim_form_for([participatory_process, @form], url: participatory_process_features_path(type: params[:type]), method: "post", html: { class: "form new_feature" }) do |form| %>
+<%= decidim_form_for([current_participatory_process, @form], url: participatory_process_features_path(type: params[:type]), method: "post", html: { class: "form new_feature" }) do |form| %>
<%= render partial: 'form', object: form, locals: { feature: @feature, title: t(".title", name: t("#{manifest.name}.name", scope: "decidim.features"))} %>
<div class="button--double form-general-submit">
<%= form.submit t(".add") %>
</div>