Add code to get team name and team color from the View when the submit button is clicked.