Eunsu486

Modify Form tag to match inputfunction

...@@ -5,13 +5,10 @@ ...@@ -5,13 +5,10 @@
5 <title>Animal Info</title> 5 <title>Animal Info</title>
6 <!-- 합쳐지고 최소화된 최신 CSS --> 6 <!-- 합쳐지고 최소화된 최신 CSS -->
7 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> 7 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
8 -
9 <!-- 부가적인 테마 --> 8 <!-- 부가적인 테마 -->
10 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> 9 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
11 -
12 <!-- 합쳐지고 최소화된 최신 자바스크립트 --> 10 <!-- 합쳐지고 최소화된 최신 자바스크립트 -->
13 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> 11 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
14 -
15 <style> 12 <style>
16 html { 13 html {
17 min-height: 100%; 14 min-height: 100%;
...@@ -65,33 +62,27 @@ ...@@ -65,33 +62,27 @@
65 font-size: xx-large; 62 font-size: xx-large;
66 } 63 }
67 </style> 64 </style>
68 -
69 <script> 65 <script>
70 function sm() { 66 function sm() {
71 document.getElementById("location").submit(); 67 document.getElementById("location").submit();
72 } 68 }
73 </script> 69 </script>
74 -
75 -
76 </head> 70 </head>
77 71
78 <body> 72 <body>
79 -
80 <header id="header"> 73 <header id="header">
81 <%- include("components/header") -%> 74 <%- include("components/header") -%>
82 </header> 75 </header>
83 -
84 <div class="content"> 76 <div class="content">
85 <div class="nav"> 77 <div class="nav">
86 <%- include("components/navigation") -%> 78 <%- include("components/navigation") -%>
87 </div> 79 </div>
88 -
89 <div class="jumbotron"> 80 <div class="jumbotron">
90 <h2>서울시 동물 병원 검색</h2> 81 <h2>서울시 동물 병원 검색</h2>
91 <p> 82 <p>
92 지역 선택 83 지역 선택
93 </p> 84 </p>
94 - <form action="/category/park" method="post" name="location" id="location"> 85 + <form action="/category" method="POST" name="location" id="location">
95 <select onchange="sm()" name="user_gu" id="user_gu_select"> 86 <select onchange="sm()" name="user_gu" id="user_gu_select">
96 <option value='' selected="true" disabled="true">--Please choose an option--</option> 87 <option value='' selected="true" disabled="true">--Please choose an option--</option>
97 <option value='강남구'>강남구</option> 88 <option value='강남구'>강남구</option>
...@@ -121,7 +112,8 @@ ...@@ -121,7 +112,8 @@
121 <option value='중랑구'>중랑구</option> 112 <option value='중랑구'>중랑구</option>
122 </select> 113 </select>
123 </form> 114 </form>
124 - 115 + </div>
116 + </div>
125 <footer id="footer"> 117 <footer id="footer">
126 <%- include("components/footer") -%> 118 <%- include("components/footer") -%>
127 </footer> 119 </footer>
......