Sha256: d99992dab2cd93e260726965d5cedfbad93c58216b0f74001412af729e0195c7

Contents?: true

Size: 567 Bytes

Versions: 129

Compression:

Stored size: 567 Bytes

Contents

if defined?(ActiveAdmin) and defined?(AdminUser)
  ActiveAdmin.register AdminUser do

    menu priority: 90, html_options: { class: 'icon-user_gray' }

    filter :name
    filter :email

    index do
      column :name
      column :email
      column :current_sign_in_at
      column :last_sign_in_at
      column :sign_in_count
      default_actions
    end

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

  end
end

Version data entries

129 entries across 129 versions & 1 rubygems

Version Path
lalala-4.1.0.dev.425 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.420 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.419 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.418 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.417 lib/lalala/admin/admin_users.rb
lalala-4.0.0.dev.416 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.415 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.414 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.413 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.412 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.411 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.410 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.409 lib/lalala/admin/admin_users.rb
lalala-4.0.0.dev.407 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.408 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.398 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.397 lib/lalala/admin/admin_users.rb
lalala-4.0.0.dev.396 lib/lalala/admin/admin_users.rb
lalala-4.0.0.dev.395 lib/lalala/admin/admin_users.rb
lalala-4.1.0.dev.394 lib/lalala/admin/admin_users.rb