leaguevine / leaguevine-ultistats

MIT License
18 stars 4 forks source link

Add a player to a team #22

Open mliu7 opened 12 years ago

mliu7 commented 12 years ago

We need to add a page where a user can either add existing players to the team or create new players and add those to the team.

We can link to this page from the team page.

There are two possible workflows for this:

  1. we could have a page with a search box for finding players and if the player is not found, the user clicks "add player" and gets taken to a page to fill in the player's attributes (first_name, nickname, last_name).
  2. We could have a page similar to this where all of the player fields are shown and as the user types in any of them, we filter on players that match their search. If the player is not found, the user can click the create player button, and since the information is already in the appropriate search boxes, the player can be created right then. If the player is found, it will show up in the list and clicking on the player adds it to the team.