Commit 99e7ad0d authored by Martins Berzins's avatar Martins Berzins
Browse files

Minor fixes

parent 2fd96385
......@@ -12,5 +12,5 @@ import com.example.calendar.models.Event;
public interface EventRepo extends CrudRepository<Event, Integer> {
ArrayList<Event> findAllByCalendar(Calendar calendar);
ArrayList<Event> findAllByLocalDate(LocalDate localDate);
ArrayList<Event> findAllByStartDate(LocalDate startDate);
......@@ -23,7 +23,7 @@
<input name="username" type="text" class="form-control" placeholder="Username"
<input name="password" type="password" class="form-control" placeholder="Password"/>
<input name="password" type="password" class="form-control" placeholder="Password"/><br>
<div class="alert alert-danger" th:if="${error}">
<p th:text="${error}"></p>
......@@ -31,7 +31,7 @@
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
<br><button class="btn btn-lg btn-primary btn-block" type="submit">Log In</button>
<button class="btn btn-lg btn-primary btn-block" type="submit">Log In</button>
<div class="alert alert-success" th:if="${message}">
<p th:text="${message}"></p>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment