Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이승윤
/
OpenSource-MyCookBook
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Song
2021-05-31 00:35:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eb180cafc000e768b73200c197cd23dfdb7c60b9
eb180caf
1 parent
2faf482b
feat: 댓글영역 삭제
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
21 deletions
views/category/productsDetail.ejs
views/category/productsDetail.ejs
View file @
eb180ca
<% include ../includes/header.ejs %>
<div class="panel panel-default">
<div class="panel-heading">
<%=product.title%>
<%=product.title%>
</div>
<div style="padding-bottom: 10px">
작성일 :
<br>
작성일 :
<%=product.getDate.year%> -
<%=product.getDate.month%> -
<%=product.getDate.day%>
</div>
<div>
<% var count=0; %>
보유중인 영상
※ 보유중인 영상<br><br>
<% for (var i in items[0]) { %>
<div>
<%=items[0][i]%>
<%=items[0][i]%>
</div>
<%count++;};%>
</div>
<div>
설명 : <%=product.description%
>
<br> 설명 : <%=product.description%><br><br
>
</div>
<form method="get" action="">
<div class="input-group">
...
...
@@ -48,24 +48,8 @@
<button class="btn btn-primary" style="margin-top: 10px; margin-left: 15px;" >영상담기</button>
</form>
<div class="panel-body">
<!-- 댓글영역 -->
<div>
댓글작성하기
<form id="commentForm" action="" method="post">
<input type="hidden" name="product_id" value="<%=product.id%>" />
<textarea class="form-control" name="content"></textarea>
<button class="btn btn-primary" style="margin-top: 10px" type="submit">댓글작성</button>
</form>
</div>
<!-- 댓글영역 -->
<hr />
<div id="comment_area">
<% comments.forEach(function(comment){ %>
<div>
<%=comment.content%>
( <a class='comment_delete' comment_id='<%=comment._id%>'>삭제</a> )
</div>
<% }); %>
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment