OSDN Git Service

t#30472:fix reg msg
[pettanr/pettanr.git] / app / views / demand_users / registrations / edit.html.erb
index 1cece2f..3776a65 100644 (file)
@@ -2,7 +2,7 @@
 <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>