File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ In this lab, you'll practice building forms in Sinatra by creating a basketball
1212
13133 . Make a form
1414
15- Create a route that responds to a GET request at ` /team ` .
16- Add a form to the ` team .erb` template and render it in the GET ` /team ` route.
15+ Create a route that responds to a GET request at ` /newteam ` .
16+ Add a form to the ` newteam .erb` template and render it in the GET ` /newteam ` route.
1717 The form should have fields for:
1818 Team name ('name')
1919 Coach ('coach')
@@ -31,11 +31,11 @@ In this lab, you'll practice building forms in Sinatra by creating a basketball
3131
3232 Create a route that responds to a POST request at ` /team `
3333 Have the form send a POST request to this route.
34- Upon submission, pass the submitted data to the ` newteam .erb` template.
34+ Upon submission, pass the submitted data to the ` team .erb` template.
3535
36365 . Final Output
3737
38- Update the ` newteam .erb` template so when you post to this form, it displays the name of the team and each member of the team.
38+ Update the ` team .erb` template so when you post to this form, it displays the name of the team and each member of the team.
3939
4040 Your view should display something like this:
4141
You can’t perform that action at this time.
0 commit comments