Ignore:
File:
1 edited

Legend:

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

    rd7eaf88 r3c7bf5b  
    11<!DOCTYPE html>
    2 <html lang="en" xmlns:th="http://thymeleaf.org">
     2<html lang="en">
    33<head>
    44    <meta charset="UTF-8">
     
    3535  </nav>
    3636</header>
    37 <div>
    38   <form method="get" th:action="@{'/create-post'}">
    39     <button id="submit" type="submit">Create an Adoption Post</button>
    40   </form>
    41 </div>
     37
    4238<div>
    4339  <h1>Welcome to Paw 5</h1>
    4440  <h3>Let's get started
    45     <th:block  th:text="${session.user.getName()}"></th:block>
     41    <th:block  th:text="${session.user?.getName()}"></th:block>
    4642  </h3>
    4743</div>
    48 
     44<div>
     45  <form method="get" th:action="@{'/adoption-posts'}">
     46    <button id="submit" type="submit">View Adoption posts</button>
     47  </form>
     48</div>
    4949</body>
    5050</html>
Note: See TracChangeset for help on using the changeset viewer.