It is necessary to make a food order application, in which the User (User - devise), making an Order (Order), first selects an institution, and then redirects it to the menu of this establishment (menu in the application itself).
I can assume that you need nested forms (I know very poorly) or Ajax / JavaScript (I don’t understand at all) to change screens.
How to implement such a function (if not difficult, then as detailed as possible)? Maybe there is some kind of not complicated heme?
An example of the place selection screen, which is replaced by the screen with the menu of the selected place:
