Skip to content

Commit 6000f70

Browse files
committed
Refactor bill form structure to include method attribute for POST requests
1 parent 5d89654 commit 6000f70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/pages/bills.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ <h5 class="modal-title">
165165
</h5>
166166
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
167167
</div>
168-
<form id="addBillForm" data-ajax="true" action="/api/bills">
169-
<div class="modal-body">
168+
<div class="modal-body">
169+
<form id="addBillForm" data-ajax="true" action="/api/bills" method="POST">
170170
<div class="mb-3">
171171
<label for="billName" class="form-label">Bill Name</label>
172172
<input type="text" class="form-control" id="billName" name="name" required

0 commit comments

Comments
 (0)