From b0e8f75d5366643eb1cacd9b72ba1bcba5f4fc9c Mon Sep 17 00:00:00 2001
From: lang0909 <lang0909@ajou.ac.kr>
Date: Thu, 7 Nov 2019 10:15:47 +0900
Subject: [PATCH] movie_comment

---
 public/stylesheets/style.css | 5 +++++
 views/index.pug              | 2 ++
 views/result.pug             | 1 +
 3 files changed, 8 insertions(+)

diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css
index 207e5a4..8013dc5 100644
--- a/public/stylesheets/style.css
+++ b/public/stylesheets/style.css
@@ -19,4 +19,9 @@ article {
 
 .btn-back {
   margin:10px;
+}
+
+.actor_poster{
+  width: 150px;
+  height: 200px;
 }
\ No newline at end of file
diff --git a/views/index.pug b/views/index.pug
index 0f1fe4c..6f24143 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -13,6 +13,8 @@ block content
       input(type='text' name='genre' placeholder='Genre Type')
     p
       input(type='text' name='poster' placeholder='Poster (image url)')
+    p
+      input(type='text' name='actor_poster' placeholder='Actor_Poster (image url)')
     p   Movie Ratings
     label 0
       input(type="radio", name="rating", value="0")
diff --git a/views/result.pug b/views/result.pug
index 3953cdf..cf8b785 100644
--- a/views/result.pug
+++ b/views/result.pug
@@ -5,6 +5,7 @@ block content
         h1 #{data.name}
         hr(size='3px')
         p #{data.actors}
+        img(class="actor_poster" src=`${data.actor_poster}`)
         p #{data.genre}
         hr(size='3px')
         p
-- 
GitLab