Ignore:
Timestamp:
02/02/23 23:05:16 (17 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
a436340
Parents:
9280859
Message:

Add search button functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/homepage.html

    r9280859 rcc52b09  
    2626    <div class="card">
    2727        <div class="card-body py-5 px-md-5">
    28             <form th:action="@{/search}" method="get" th:object="${search}">
    2928                <div>
    3029                    <label for="student-birth-date">Date of search:</label>
    31                     <input type="date" th:field="${search.date}" id="student-birth-date"/>
     30                    <input type="date" id="student-birth-date"/>
    3231                </div>
    3332                <div>
    34                     <button type="submit" class="button">Search</button>
     33                    <button type="submit" class="button" id="search">Search</button>
    3534                </div>
    36             </form>
    3735        </div>
    3836    </div>
Note: See TracChangeset for help on using the changeset viewer.