<h2>Edit <%= resource_name.to_s.humanize %></h2>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
- <%= devise_error_messages! %>
+ <%= render 'system/error_explanation', :obj => resource %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>