신동해

Update index.ejs : enable search function

...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
16 <!-- 메인페이지 대문 --> 16 <!-- 메인페이지 대문 -->
17 <div class="container mt-4" style="padding: 180px 140px 180px 140px;"> 17 <div class="container mt-4" style="padding: 180px 140px 180px 140px;">
18 <img src="http://khuhub.khu.ac.kr/2018110651/Omniscient-Public-Point-Of-View/uploads/2d3e5b183ab5955354c9188aafc18085/main.png" alt="main" style="display: block; margin:0 auto; top:50px;"/> 18 <img src="http://khuhub.khu.ac.kr/2018110651/Omniscient-Public-Point-Of-View/uploads/2d3e5b183ab5955354c9188aafc18085/main.png" alt="main" style="display: block; margin:0 auto; top:50px;"/>
19 - <form action="/add" method="GET"> 19 + <form action="/list" method="GET">
20 <div class="input-group mb-3"> 20 <div class="input-group mb-3">
21 <input type="text" class="form-control" placeholder="주제 검색" aria-label="주제 검색" aria-describedby="button-addon2" name = "subject"> 21 <input type="text" class="form-control" placeholder="주제 검색" aria-label="주제 검색" aria-describedby="button-addon2" name = "subject">
22 <div class="input-group-append"> 22 <div class="input-group-append">
23 - <button class="btn btn-outline-secondary" type="button" id="button-addon2">검색</button> 23 + <button class="btn btn-outline-secondary search" type="submit" id="button-addon2">검색</button>
24 </div> 24 </div>
25 </div> 25 </div>
26 </form> 26 </form>
......