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