Skip to content
Snippets Groups Projects
Commit 998db0b5 authored by Jonathan McDaniel's avatar Jonathan McDaniel
Browse files

Closes #3

parent 67e54a7c
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
<th scope="col">Arrival Station</th> <th scope="col">Arrival Station</th>
<th scope="col">Departure Time</th> <th scope="col">Departure Time</th>
<th scope="col">Arrival Time</th> <th scope="col">Arrival Time</th>
<th scope="col">Price</th>
<th scope="col">Add to Cart</th> <th scope="col">Add to Cart</th>
</tr> </tr>
</thead> </thead>
...@@ -64,6 +65,7 @@ ...@@ -64,6 +65,7 @@
<td th:text="${path.to.getName()}"></td> <td th:text="${path.to.getName()}"></td>
<td th:text="${path.departureTime}"></td> <td th:text="${path.departureTime}"></td>
<td th:text="${path.arrivalTime}"></td> <td th:text="${path.arrivalTime}"></td>
<td>$10.00</td>
<td> <td>
<form method="post" th:action="@{/cart/add}" th:object="${ticket}"> <form method="post" th:action="@{/cart/add}" th:object="${ticket}">
<input hidden th:name="departureDate" th:value="${path.departureDate}"/> <input hidden th:name="departureDate" th:value="${path.departureDate}"/>
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment