gregbell/active_admin — Issue #887: Showing fields just on "create" or "edit forms"
Author: toptierlabs
Created: 2012-01-02 13:24:11+00:00
State: open

I tried to show some fields just on the edit form using
if f.object.id.nil?
f.input :password
end
or
if f.object.new_record?
f.input :password
end

But it didn't showed any fields in the edit form.