Sha256: 382fddcee36148b6cc91038c893659df2fffb413b4400086a596a8231c600e96

Contents?: true

Size: 458 Bytes

Versions: 26

Compression:

Stored size: 458 Bytes

Contents

if defined?(ActiveAdmin)
  ActiveAdmin.register Lentil::AdminUser do
    config.batch_actions = false

    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
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
lentil-0.9.1 lib/lentil/admin/admin_user.rb
lentil-0.9.0 lib/lentil/admin/admin_user.rb
lentil-0.8.0 lib/lentil/admin/admin_user.rb
lentil-0.7.1 lib/lentil/admin/admin_user.rb
lentil-0.6.0 lib/lentil/admin/admin_user.rb
lentil-0.5.2 lib/lentil/admin/admin_user.rb
lentil-0.5.1 lib/lentil/admin/admin_user.rb
lentil-0.5.0 lib/lentil/admin/admin_user.rb
lentil-0.4.2 lib/lentil/admin/admin_user.rb
lentil-0.4.0 lib/lentil/admin/admin_user.rb
lentil-0.3.1 lib/lentil/admin/admin_user.rb
lentil-0.3.0 lib/lentil/admin/admin_user.rb
lentil-0.2.3 lib/lentil/admin/admin_user.rb
lentil-0.2.2 lib/lentil/admin/admin_user.rb
lentil-0.2.1 lib/lentil/admin/admin_user.rb
lentil-0.2.0 lib/lentil/admin/admin_user.rb
lentil-0.1.8 lib/lentil/admin/admin_user.rb
lentil-0.1.7 lib/lentil/admin/admin_user.rb
lentil-0.1.6 lib/lentil/admin/admin_user.rb
lentil-0.1.3 lib/lentil/admin/admin_user.rb