app/views/active_admin/devise/passwords/new.html.erb in activeadmin-0.4.4 vs app/views/active_admin/devise/passwords/new.html.erb in activeadmin-0.5.0.pre

- old
+ new

@@ -1,13 +1,13 @@ <div id="login"> - <h2>Forgot your password?</h2> + <%= content_tag :h2, t('active_admin.devise.reset_password.title') %> - <%= active_admin_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| + <%= active_admin_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| f.inputs do f.input :email end - f.buttons do - f.commit_button "Reset My Password" + f.actions do + f.action :submit, :label => t('active_admin.devise.reset_password.submit'), :button_html => { :value => t('active_admin.devise.reset_password.submit') } end end %> <%= render :partial => "active_admin/devise/shared/links" %> </div>