mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
migrating repo to Bodyrep org
This commit is contained in:
19
views/workouts/new.jade
Normal file
19
views/workouts/new.jade
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user