Answer the question
In order to leave comments, you need to log in
How to make a drop down list in activeadmin?
Hello!
I have a Posts and Languages table (it's just a list of languages). The language_name field (from Posts) is associated with a foreign key to the name field (from the Language table).
How can I make it so that when adding a new post, the language_name field looks like a select from those languages that are available? For now, I just have it as an input field.
Answer the question
In order to leave comments, you need to log in
Perhaps this will help
And it is better to use Rails Admin. Everything works there by default and looks more modern.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question