mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-02-01 20:12:22 +00:00
refactored article to workout
This commit is contained in:
12
test/views/workouts/workout.jade
Normal file
12
test/views/workouts/workout.jade
Normal file
@@ -0,0 +1,12 @@
|
||||
extends ../layout
|
||||
block content
|
||||
h1= workout.title
|
||||
|
||||
div!= workout.body
|
||||
|
||||
hr
|
||||
|
||||
p
|
||||
span Author:
|
||||
|
||||
a(href="/users/" + encodeURIComponent(workout.author.name))= workout.author.name
|
||||
Reference in New Issue
Block a user