Ignore:
Timestamp:
02/16/23 15:21:12 (17 months ago)
Author:
SazdovaEkaterina <sazdovaekaterina@…>
Branches:
main
Children:
eac569a
Parents:
9a180fd
Message:

link to home and add headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Prototype Application/Paw5/src/main/resources/templates/home.html

    r9a180fd r3c7bf5b  
    3939  <h1>Welcome to Paw 5</h1>
    4040  <h3>Let's get started
    41     <th:block  th:text="${session.user.getName()}"></th:block>
     41    <th:block  th:text="${session.user?.getName()}"></th:block>
    4242  </h3>
    4343</div>
    44 
     44<div>
     45  <form method="get" th:action="@{'/adoption-posts'}">
     46    <button id="submit" type="submit">View Adoption posts</button>
     47  </form>
     48</div>
    4549</body>
    4650</html>
Note: See TracChangeset for help on using the changeset viewer.