Reputation: 1277
How do I create a custom input field in Active admin?
This is for an input field gender, which would contain ["Male","Female"]
Upvotes: 0
Views: 920
Reputation: 29124
form do |f|
f.input :gender, collection: ["Male", "Female"]
..
end
Upvotes: 5