gregbell/active_admin — Issue #609: condition statement not work in a specific input in form build.
Author: GutenYe
Created: 2011-10-13 07:13:55+00:00
State: open

```

ActiveAdmin.register User do

# not work use a false in f.input. it doesn't render the whole 'Section A' in view.
form do |f|
f.inputs 'Section A' do
f.input :name if false
end
end

# works in f.inputs
form do |f|
if false
f.inputs do ... end
end
end
end

```