title: Change password in Devise
body: <p>EDIT: <strong>All I need is render /devise/registrations/edit in /settings/password</strong> </p>
  
  <p>To do that put this your view e.g. /settings/password </p>
  
  <pre><code>&lt;%= render :template =&gt; 'devise/registrations/edit' %&gt;
  </code></pre>
  
  <p>and This in SettingsHelper</p>
  
  <pre><code>def resource_name
    :user
  end
  
  def resource
    @resource = current_user || User.new
  end
  
  def devise_mapping
    @devise_mapping ||= Devise.mappings[:user]
  end
  
  def devise_error_messages!
    return "" if resource.errors.empty?
  
    messages = resource.errors.full_messages.map { |msg| content_tag(:li, msg) }.join
    sentence = I18n.t("errors.messages.not_saved",
                      :count =&gt; resource.errors.count,
                      :resource =&gt; resource_name)
  
    html = &lt;&lt;-HTML
            &lt;div id='error'&gt;
              &lt;h2&gt;{sentence}&lt;h2&gt;
              &lt;p&gt;#{messages}&lt;/p&gt;
  
          &lt;/div&gt;
    HTML
  
    html.html_safe
  end
  </code></pre>