I\'m trying to render the Devise edit password form within another view because I don\'t want to duplicate the edit pw logic.
I\'ve tried the following (after genera
Try this:
<%= render :template => 'devise/passwords/edit', :locals => { :resource => my_user_model_variable, :resource_name => my_user_model_name } %>
Where:
my_user_model_variable
current_user
my_user_model_name
"User"