- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/resources/templates/home.html
rd7eaf88 r3c7bf5b 1 1 <!DOCTYPE html> 2 <html lang="en" xmlns:th="http://thymeleaf.org">2 <html lang="en"> 3 3 <head> 4 4 <meta charset="UTF-8"> … … 35 35 </nav> 36 36 </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 42 38 <div> 43 39 <h1>Welcome to Paw 5</h1> 44 40 <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> 46 42 </h3> 47 43 </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> 49 49 </body> 50 50 </html>
Note:
See TracChangeset
for help on using the changeset viewer.