mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 22:51:37 +00:00
fixed newexercise labels, added body to single workout page, added delete function for workouts
This commit is contained in:
@@ -6,11 +6,11 @@ h2= user.name
|
||||
- if (session.user.username === requested)
|
||||
h2 Private View
|
||||
div
|
||||
button.recent-link(value= encodeURIComponent(session.user.name) ) Recent workouts
|
||||
button.recent-link(value= encodeURIComponent(session.user.username) ) Recent workouts
|
||||
div
|
||||
button.newex-link(value="/workouts/new") Create new workout
|
||||
div
|
||||
button.map-link(value="/users/admin/edit") Edit User
|
||||
button.map-link(value="/users/" + encodeURIComponent(session.user.username) + "/edit") Edit User
|
||||
div
|
||||
button Placeholder2
|
||||
- else
|
||||
|
||||
Reference in New Issue
Block a user