lr7-1
This commit is contained in:
1 parent
159e5d6911
commit
fcbdcef568
21 files changed
+1934
-3
No files matched your search
@@ -0,0 +1,36 @@
|
||||
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<title>Add Group</title>
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
|
||||
rel="stylesheet"
|
||||
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
|
||||
crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h3>Add New Study Group</h3>
|
||||
<hr/>
|
||||
|
||||
<form th:action="@{/saveGroup}" th:object="${group}" method="POST">
|
||||
|
||||
<input type="text" th:field="*{name}" class="form-control col-4 mb-4" placeholder="Enter Group Name"/>
|
||||
|
||||
<input type="text" th:field="*{faculty}" class="form-control col-4 mb-4" placeholder="Enter Faculty"/>
|
||||
|
||||
<input type="text" th:field="*{course}" class="form-control col-4 mb-4" placeholder="Enter Course"/>
|
||||
|
||||
<button type="submit" class="btn btn-primary col-2">Save</button>
|
||||
|
||||
<input type="hidden" th:field="*{id}"/>
|
||||
|
||||
</form>
|
||||
<hr/>
|
||||
<a th:href="@{/groupList}">Back to list</a>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user