Sha256: 320cc428d80c7262954e46db1bfb6f6f74668545e4151c4d6b521b7b5bdb619c

Contents?: true

Size: 444 Bytes

Versions: 23

Compression:

Stored size: 444 Bytes

Contents

ActiveAdmin.register User do
	permit_params :username, :email, :password, :password_confirmation, :fb_user_id

	config.per_page = 50

  form do |f|
    f.semantic_errors # shows errors on :base
    f.inputs do
      f.input :id
      f.input :username
      f.input :email
      f.input :password
      f.input :password_confirmation
      f.input :fb_user_id
      f.input :updated_at
      f.input :created_at
    end
    f.actions
  end

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
horse_power-0.1.2 lib/generators/horse_power/user/templates/admin.rb.erb
horse_power-0.1.1 lib/generators/horse_power/user/templates/admin.rb.erb
horse_power-0.1.0 lib/generators/horse_power/user/templates/admin.rb.erb