With the default ActiveAdmin config where the Devise resource is admin_user
, your new.html.erb
should go in app/views/admin_users/sessions/new.html.erb
instead.
An easy way to copy out all the Devise templates is to do rails g devise:views admin_users
, though it turns out ActiveAdmin comes with its own versions of these views: https://github.com/gregbell/active_admin/tree/master/app/views/active_admin/devise
If you're additionally trying to change the layout that Devise's new.html.erb
is rendered with, you can copy the layout file out from ActiveAdmin into app/views/layouts/active_admin_logged_out.html.erb
The current layout file used for the login page is here: