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:
23
views/workouts/index.jade
Normal file
23
views/workouts/index.jade
Normal file
@@ -0,0 +1,23 @@
|
||||
extends ../layout
|
||||
|
||||
block content
|
||||
h1 workouts
|
||||
|
||||
p
|
||||
a(href="/workouts/new") Create new workout
|
||||
p
|
||||
a(href="/users") List Users
|
||||
p
|
||||
a(href="/workouts") List workouts
|
||||
|
||||
|
||||
include list
|
||||
|
||||
- if (page > 0) {
|
||||
a(href="?page=" + (page - 1)) Previous
|
||||
|
||||
- }
|
||||
|
||||
- if (! lastPage) {
|
||||
a(href="?page=" + (page + 1)) Next
|
||||
- }
|
||||
Reference in New Issue
Block a user