I am trying to figure out how to use Devise to register a "1 page" for a group.
Trying to make it as easy as possible.
I am trying to get user teams to register through one team leader.
So, I send a link to the team leader and they will go to 1 page, which will have fields for their email address, possibly password fields.
They will have a grid below me, i.e. nested string values ββfor user emails signed by the team leader. I would like the users listed below the team leader to have in their report who the team leader is.
The problem is that all the applications that I used in Devise, and all the examples that I see, are intended to be done by "user by user", and not in this "batch" way.
I do not need the final code written (although I will not mind any pseudo), I am looking for advice on this process.
Mine, although it still has to have two forms. The top one, in particular, should be based on ajax and should create a team leader as soon as they leave the field. How about all the users below. I do not want to ajaxify every line that has users email, so it calls a method that interacts with Devise - yuch. I think this should be a regular βformβ that gets submitted (possibly with client-side validation for email@address.format ), but I'm still stuck with the right approach to registering a "batch" of users this way.
source share