app/views/active_admin/devise/unlocks/new.html.erb in activeadmin-0.6.6 vs app/views/active_admin/devise/unlocks/new.html.erb in activeadmin-1.0.0.pre1

- old
+ new

@@ -1,14 +1,15 @@ <div id="login"> - <h2><%= title "#{render_or_call_method_or_proc_on(self, active_admin_application.site_title)} #{t('active_admin.devise.unlock.title')}" %></h2> + <h2><%= render_or_call_method_or_proc_on(self, active_admin_application.site_title) %> <%= title t('active_admin.devise.unlock.title') %></h2> - <%= active_admin_form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| + <%= devise_error_messages! %> + <%= active_admin_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| f.inputs do f.input :email end f.actions do - f.action :submit, :label => t('active_admin.devise.unlock.submit'), :button_html => { :value => t('active_admin.devise.unlock.submit') } + f.action :submit, label: t('active_admin.devise.unlock.submit'), button_html: { value: t('active_admin.devise.unlock.submit') } end end %> -<%= render :partial => "active_admin/devise/shared/links" %> +<%= render partial: "active_admin/devise/shared/links" %> </div>