Skip to content
Snippets Groups Projects
Commit 8d443247 authored by Joshua Grey's avatar Joshua Grey
Browse files

Removed unused thymeleaf attributes

parent 982a9b19
No related branches found
No related tags found
No related merge requests found
...@@ -63,21 +63,21 @@ ...@@ -63,21 +63,21 @@
<div class="container form-container"> <div class="container form-container">
<h2 class="text-center">We Value Your Feedback</h2> <h2 class="text-center">We Value Your Feedback</h2>
<p>Please use this form to submit any legal or general complaints.</p> <p>Please use this form to submit any legal or general complaints.</p>
<form th:action="@{/complaint}" th:object="${complaint}" method="post"> <form th:action="@{/complaint}" method="post">
<div class="form-group"> <div class="form-group">
<label for="title">Complaint Title:</label> <label for="title">Complaint Title:</label>
<input type="text" class="form-control" id="title" th:field="*{title}" required/> <input type="text" class="form-control" id="title" required/>
<small class="text-danger" th:if="${#fields.hasErrors('title')}" th:errors="*{title}"></small> <small class="text-danger"></small>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="email">Your Email:</label> <label for="email">Your Email:</label>
<input type="email" class="form-control" id="email" th:field="*{email}" required/> <input type="email" class="form-control" id="email" required/>
<small class="text-danger" th:if="${#fields.hasErrors('email')}" th:errors="*{email}"></small> <small class="text-danger" ></small>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="description">Complaint Description:</label> <label for="description">Complaint Description:</label>
<textarea class="form-control" id="description" th:field="*{description}" required></textarea> <textarea class="form-control" id="description" required></textarea>
<small class="text-danger" th:if="${#fields.hasErrors('description')}" th:errors="*{description}"></small> <small class="text-danger"></small>
</div> </div>
<button type="submit" class="btn btn-primary">Submit Complaint</button> <button type="submit" class="btn btn-primary">Submit Complaint</button>
</form> </form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment