Add API Framework Revel Source Files
[iec.git] / src / foundation / api / revel / testdata / app / views / hotels / show.html
1 {{template "header.html" .}}
2
3 <h1>View hotel</h1>
4
5 {{with .hotel}}
6 <form action="{{url "Hotels.Book" .HotelID}}">
7
8   <p>
9     <strong>Name:</strong> {{.Name}}
10   </p>
11   <p>
12     <strong>Address:</strong> {{.Address}}
13   </p>
14   <p>
15     <strong>City:</strong> {{.City}}
16   </p>
17   <p>
18     <strong>State:</strong> {{.State}}
19   </p>
20   <p>
21     <strong>Zip:</strong> {{.Zip}}
22   </p>
23   <p>
24     <strong>Country:</strong> {{.Country}}
25   </p>
26   <p>
27     <strong>Nightly rate:</strong> {{.Price}}
28   </p>
29
30   <p class="buttons">
31     <input type="submit" value="Book Hotel">
32     <a href="{{url "Hotels.Index"}}">Back to search</a>
33   </p>
34 </form>
35 {{end}}
36
37 {{template "footer.html" .}}