mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
27 lines
806 B
Plaintext
27 lines
806 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") workoutDate
|
|
input.datepicker(name="workoutDate")
|
|
li
|
|
label(for="timepicker", value="Time") workoutTime
|
|
select(name="workoutTime")
|
|
option(value='0100') 1 AM
|
|
option(value='0130') 1:30 AM
|
|
option(value='0200') 2 AM
|
|
|
|
ul#exercises
|
|
|
|
button(type="submit", value="Save") Save
|