diff --git a/src/main/resources/templates/createCourse.html b/src/main/resources/templates/createCourse.html index cdd301e68fdd8a5b6ba24803720caf3ebafa935c..67e0dd460b13a75117785d724cf406e212b565b0 100644 --- a/src/main/resources/templates/createCourse.html +++ b/src/main/resources/templates/createCourse.html @@ -7,19 +7,12 @@ </head> <body> <h3>Create new Course</h3> -<!--<div th:if="${error!=null}" class="alert alert-danger" role="alert">--> -<!-- Duplicate student name--> -<!--</div>--> <form th:action="@{/course/create}" th:object="${course}" method="post"> <div class="form-group"> <label for="nameInput">Course Name</label> <input th:field="*{courseName}" type="text" class="form-control" id="nameInput" aria-describedby="nameHelp" placeholder="Enter course' name"> <small id="nameHelp" class="form-text text-muted">Please enter unique name.</small> </div> -<!-- <div class="form-group">--> -<!-- <label for="addressTextarea">Address</label>--> -<!-- <textarea th:field="*{address}" class="form-control" id="addressTextarea" rows="3"></textarea>--> -<!-- </div>--> <button type="submit" class="btn btn-primary">Submit</button> </form> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>