<div id="login">
  <h2><%= render_or_call_method_or_proc_on(self, active_admin_application.site_title) %> <%= title t('active_admin.devise.login.title') %></h2>

  <% email_placeholder = 'Default: admin@example.com' if AdminUser.find_by_email('admin@example.com') %>
  <% password_placeholder = 'Default: password' if AdminUser.find_by_email('admin@example.com') %>

  <% scope = Devise::Mapping.find_scope!(resource_name) %>
  <%= active_admin_form_for(resource, as: resource_name, url: send(:"#{scope}_session_path"), html: { id: "session_new" }) do |f|
    f.inputs do
      resource.class.authentication_keys.each_with_index { |key, index|
        f.input key, label: t('active_admin.devise.'+key.to_s+'.title'), input_html: { autofocus: index.zero?, placeholder: email_placeholder}
      }
      f.input :password, label: t('active_admin.devise.password.title'), input_html: {placeholder: password_placeholder}
      f.input :remember_me, label: t('active_admin.devise.login.remember_me'), as: :boolean if devise_mapping.rememberable?
    end
    f.actions do
      f.action :submit, label: t('active_admin.devise.login.submit'), button_html: { value: t('active_admin.devise.login.submit') }
    end
  end
  %>

  <%= render partial: "active_admin/devise/shared/links" %>
</div>
Make the default username and password visible on the login screen when the dummy admin@example.com account is present
Make the default username and password visible on the login screen when the dummy admin@example.com account is present
