Showing
1 changed file
with
13 additions
and
12 deletions
... | @@ -16,23 +16,24 @@ | ... | @@ -16,23 +16,24 @@ |
16 | </table> | 16 | </table> |
17 | <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal-create">새 스레드 추가</button> | 17 | <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal-create">새 스레드 추가</button> |
18 | <div class="modal fade" id="modal-create" tabindex="-1" aria-labelledby="label-modal-create" aria-hidden="true"> | 18 | <div class="modal fade" id="modal-create" tabindex="-1" aria-labelledby="label-modal-create" aria-hidden="true"> |
19 | - <div class="modal-dialog"> | 19 | + <div class="modal-dialog modal-lg"> |
20 | <div class="modal-content"> | 20 | <div class="modal-content"> |
21 | - <div class="modal-header"> | 21 | + <form method="post"> |
22 | - <h5 class="modal-title" id="label-modal-create">새 스레드 추가</h5> | 22 | + <div class="modal-header"> |
23 | - <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | 23 | + <h5 class="modal-title" id="label-modal-create">새 스레드 추가</h5> |
24 | - </div> | 24 | + <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
25 | - <div class="modal-body"> | 25 | + </div> |
26 | - <form method="post"> | 26 | + <div class="modal-body"> |
27 | <div class="form-floating"> | 27 | <div class="form-floating"> |
28 | <input type="text" id="input-title" name="title" class="form-control" required> | 28 | <input type="text" id="input-title" name="title" class="form-control" required> |
29 | <label for="input-title">제목</label> | 29 | <label for="input-title">제목</label> |
30 | </div> | 30 | </div> |
31 | - </form> | 31 | + <textarea class="form-control" id="input-content" name="content" rows="5" required></textarea> |
32 | - </div> | 32 | + </div> |
33 | - <div class="modal-footer"> | 33 | + <div class="modal-footer"> |
34 | - <button type="button" class="btn btn-primary">작성</button> | 34 | + <button type="submit" class="btn btn-primary">작성</button> |
35 | - </div> | 35 | + </div> |
36 | + </form> | ||
36 | </div> | 37 | </div> |
37 | </div> | 38 | </div> |
38 | </div> | 39 | </div> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment