decidim-admin/app/views/decidim/admin/participatory_processes/new.html.erb in decidim-0.0.3 vs decidim-admin/app/views/decidim/admin/participatory_processes/new.html.erb in decidim-0.0.4
- old
+ new
@@ -1,9 +1,9 @@
-<% content_for :title do %>
+<% provide :title do %>
<h2><%= t ".title" %></h2>
<% end %>
-<%= form_for(@form) do |f| %>
+<%= decidim_form_for(@form) do |f| %>
<%= render partial: 'form', object: f %>
<div class="actions">
<%= f.submit t(".create") %>
</div>