Now I am working on an application where I have people, athletes and coaches. The trainer has many athletes and they also create athletes. While people can just go to the site and use a different set of tools. Therefore, for functional and logical reasons, I prefer to separately separate a separate model from the model of an athlete.
When users come to the site, I want them to log in, but it would be strange to have 3 inputs (trainer, person and athlete). Users who come to the site will be confused whether they are individuals or athletes. I was thinking about setting up a login link that has an ajax menu with all three options that will look better, but I still have a problem with multiple logins.
Does anyone have an idea how I can make the perfect 1 entry form for people and athletes. I use authlogic for authentication. I'm not looking for code, I can log in and chat, just wondering if there is a trick for this (which makes it easier for the user).
Thanks!
source share