Ignore:
File:
1 edited

Legend:

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

    r3c7bf5b rd7eaf88  
    11<!DOCTYPE html>
    2 <html lang="en">
     2<html lang="en" xmlns:th="http://thymeleaf.org">
    33<head>
    44    <meta charset="UTF-8">
     
    3535  </nav>
    3636</header>
    37 
     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>
    3842<div>
    3943  <h1>Welcome to Paw 5</h1>
    4044  <h3>Let's get started
    41     <th:block  th:text="${session.user?.getName()}"></th:block>
     45    <th:block  th:text="${session.user.getName()}"></th:block>
    4246  </h3>
    4347</div>
    44 <div>
    45   <form method="get" th:action="@{'/adoption-posts'}">
    46     <button id="submit" type="submit">View Adoption posts</button>
    47   </form>
    48 </div>
     48
    4949</body>
    5050</html>
Note: See TracChangeset for help on using the changeset viewer.