mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-26 15:11:38 +00:00
fixed search and filters
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
h3 Recent workouts:
|
||||
ul
|
||||
- recentworkouts.forEach(function(workout) {
|
||||
li
|
||||
a.map-link(href="/workouts/" + encodeURIComponent(workout._id))= workout._id
|
||||
- });
|
||||
|
||||
- recentworkouts.forEach(function(workout) {
|
||||
li
|
||||
a.map-link(href="/workouts/" + encodeURIComponent(workout._id))= workout._id
|
||||
each element in workout.elements
|
||||
li= element.exerciseID.name
|
||||
ol
|
||||
each split in element.splits
|
||||
li Reps: #{split.reps} Weight: #{split.weight}
|
||||
- });
|
||||
Reference in New Issue
Block a user