mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-02-06 14:31:37 +00:00
refactored article to workout
This commit is contained in:
23
test/views/workouts/index.jade
Normal file
23
test/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