fix: add the action to the exercise tracker form (#78)
This commit is contained in:
parent
f5df0442ed
commit
fe09e91f31
1 changed files with 1 additions and 1 deletions
2
views/index.html
vendored
2
views/index.html
vendored
|
@ -16,7 +16,7 @@
|
|||
<input id="uname" type="text" name="username" placeholder="username" />
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
<form id="exercise-form" method="post">
|
||||
<form action="/api/users/:_id/exercises" id="exercise-form" method="post">
|
||||
<h3>Add exercises</h3>
|
||||
<p><code>POST /api/users/:_id/exercises</code></p>
|
||||
<input id="uid" type="text" name=":_id" placeholder=":_id" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue