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:

enter image description here

  • If we are talking about the application, then what have all the nested forms and AJAX? There is no browser environment. - D-side
  • In general, yes, it is necessary to load the specific menu through ajax. - Mal Skrylev
  • Well, I think through the phonegap port in the end. The fact that there will be a jerk will not matter - lif3ar
  • For the rest, thanks, today, by pure chance, I found a solution that can come up - the foundation 6 has a drilldown menu. The functionality is similar to the necessary (although not completely in the part of filling out the rails form - but as a temporary solution will do), if there are no nuances, I will use it. - lif3ar

0