rails_generators/lockdown/templates/app/views/users/_form.html.erb in lockdown-0.5.6 vs rails_generators/lockdown/templates/app/views/users/_form.html.erb in lockdown-0.5.7

- old
+ new

@@ -1,15 +1,9 @@ <% submit_label = "Update" submit_label = "Create" if @user.new_record? -%> -<script type="text/javascript"> - function change_password() - { - new Ajax.Request("/users/change_password", {asynchronous: true, postBody: 'authenticity_token=<%= form_authenticity_token %>'}); - } -</script> <%= error_messages_for :profile %> <%= error_messages_for :user %> <% form_for(@user) do |f| %> <%= render :partial => "data", :locals => {:f => f} %>