Sha256: a0e1ff27ea1b59636cb8fe7ecfec7905663cd023fbd615ba4ba90b36137d288a

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

ActiveAdmin.register <%= @user_class %> do     
  index do                            
    column :email                     
    column :current_sign_in_at        
    column :last_sign_in_at           
    column :sign_in_count             
    default_actions                   
  end                                 

  filter :email                       

  form do |f|                         
    f.inputs "Admin Details" do       
      f.input :email                  
      f.input :password               
      f.input :password_confirmation  
    end                               
    f.buttons                         
  end                                 
end                                   

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-0.5.0 lib/generators/active_admin/install/templates/admin_user.rb.erb
activeadmin-0.5.0.pre1 lib/generators/active_admin/install/templates/admin_user.rb.erb
activeadmin-0.5.0.pre lib/generators/active_admin/install/templates/admin_user.rb.erb