Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit f9747f78 authored by 65160024's avatar 65160024
Browse files

update

parent 07275c38
Branches
No related tags found
No related merge requests found
...@@ -84,12 +84,13 @@ ...@@ -84,12 +84,13 @@
<form action="/confirm-loan" method="POST" class="flex space-x-2"> <form action="/confirm-loan" method="POST" class="flex space-x-2">
<input type="hidden" name="equipment_id" value="<%= item.id %>"> <input type="hidden" name="equipment_id" value="<%= item.id %>">
<label for="quantity" class="text-sm text-gray-700">จำนวน:</label> <label for="quantity" class="text-sm text-gray-700">จำนวน:</label>
<input type="number" name="quantity" min="1" max="<%= item.quantity %>" class="p-2 border border-gray-300 rounded-md" required> <input type="number" name="quantity" min="1" max="<%= item.quantity %>"
<button type="submit" class="bg-blue-600 text-white p-2 rounded-md hover:bg-blue-700"> class="p-2 border border-gray-300 rounded-md" required>
ยืมอุปกรณ์ <button type="submit"
class="bg-blue-600 text-white p-2 rounded-md hover:bg-blue-700">
ยืมอุปกรณ์
</button> </button>
</form> </form>
<% } else { %> <% } else { %>
<span class="text-gray-400">ไม่สามารถยืมได้</span> <span class="text-gray-400">ไม่สามารถยืมได้</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment