Skip to content
Snippets Groups Projects
Commit e163a667 authored by 최지원's avatar 최지원
Browse files

movie_comment

parent 990bca06
No related branches found
No related tags found
No related merge requests found
Pipeline #3534 failed
public/images/Mark_Ruffalo.jpg

8.3 KiB

......@@ -7,6 +7,7 @@ router.post('/',function(req,res){
const actor = req.body.actor;
const genre = req.body.genre;
const path = req.body.path;
const actor_path = req.body.actor_path;
const ratings = req.body.ratings;
res.render('result',
......@@ -15,6 +16,7 @@ router.post('/',function(req,res){
actor:actor,
genre:genre,
path:path,
actor_path:actor_path,
ratings:ratings})
})
......
......@@ -16,6 +16,8 @@ block content
input(type = 'text' name='genre')
p
input(type = 'text' name='path')
p
input(type = 'text' name='actor_path')
h3 Movie Ratings
label(for='0') 0
......
extends layout
block content
img(src=`${path}` width="165px" height="600px")
img(src=`${path}` width="480px" height="600px")
h1 #{movie}
hr
h3 #{actor}
img(src=`${actor_path}` width="200px" height="200px")
h3 #{genre}
hr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment