decidim-system/app/views/decidim/system/devise/passwords/new.html.erb in decidim-0.0.3 vs decidim-system/app/views/decidim/system/devise/passwords/new.html.erb in decidim-0.0.4
- old
+ new
@@ -1,7 +1,7 @@
<h2>Forgot your password?</h2>
-<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
+<%= decidim_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.email_field :email, autofocus: true %>
</div>