<div id="login">
  <%= content_tag :h2, t('active_admin.devise.change_password.title') %>

  <%= active_admin_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
    <%= devise_error_messages! %>
    <%
    f.inputs do
      f.input :password
      f.input :password_confirmation
    end %>
    <%=
    f.actions do
      f.action :submit, :label => t('active_admin.devise.change_password.submit'), :button_html => { :value => t('active_admin.devise.change_password.submit') }
      f.input :reset_password_token, :as => :hidden, :input_html => { :value => resource.reset_password_token }
    end %>
  <% end %>

  <%= render 'active_admin/devise/shared/links' %>
</div>

<div id="login">
  <%= content_tag :h2, t('active_admin.devise.change_password.title') %>

  <%= devise_error_messages! %>
  <%= active_admin_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f|
    f.inputs do
      f.input :password
      f.input :password_confirmation
    end
    f.actions do
      f.action :submit, :label => t('active_admin.devise.change_password.submit'), :button_html => { :value => t('active_admin.devise.change_password.submit') }
      f.input :reset_password_token, :as => :hidden, :input_html => { :value => resource.reset_password_token }
    end
  end
  %>

  <%= render 'active_admin/devise/shared/links' %>
</div>

Fix new password form, we can no longer break up active admin form in an ERB template.
Fix new password form, we can no longer break up active admin form in an ERB template.
