mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-26 15:11:38 +00:00
20 lines
566 B
Plaintext
20 lines
566 B
Plaintext
extends ../layout
|
|
|
|
block content
|
|
h1 New workout
|
|
p THis will be a dropdown to select exercises
|
|
input#title(name="Exercise")
|
|
button#addExercise(type="button") Add Exercise
|
|
|
|
form#newworkout(method="POST", action="/workouts")
|
|
ul
|
|
li
|
|
label(for="title", value="UserID")<br />
|
|
input#title(name="userID", value=session.user._id)
|
|
li
|
|
label(for="datepicker", value="Date") Date<br />
|
|
input.datepicker(name="workoutDate")
|
|
ul#exercises
|
|
|
|
button(type="submit", value="Save") Save
|