V
V
vadimstroganov2015-12-04 18:20:17
Ruby on Rails
vadimstroganov, 2015-12-04 18:20:17

Rails admin dependent fields?

Hello!
When adding a new entry, there are fields (drop-down lists):
Site and Parent
In site, a list of sites is displayed, in parent - a list of pages
At the moment, in site - all sites are displayed, in parent - in general, all pages of all sites
Is it possible to somehow filter the parent field depending on the chosen site?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question