app/views/devise/registrations/new.html.erb in devise-1.1.pre4 vs app/views/devise/registrations/new.html.erb in devise-1.1.rc0
- old
+ new
@@ -1,8 +1,8 @@
<h2>Sign up</h2>
-<% form_for resource_name, resource, :url => registration_path(resource_name) do |f| -%>
+<%= form_for(resource_name, resource, :url => registration_path(resource_name)) do |f| %>
<%= f.error_messages %>
<p><%= f.label :email %></p>
<p><%= f.text_field :email %></p>
<p><%= f.label :password %></p>
@@ -10,8 +10,8 @@
<p><%= f.label :password_confirmation %></p>
<p><%= f.password_field :password_confirmation %></p>
<p><%= f.submit "Sign up" %></p>
-<% end -%>
+<% end %>
<%= render :partial => "devise/shared/links" %>