fix: add the action to the exercise tracker form (#78)

This commit is contained in:
a2937 2023-11-19 08:26:08 -05:00 committed by GitHub
parent f5df0442ed
commit fe09e91f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
views/index.html vendored
View file

@ -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" />