Hotel/hotel/rooms/templates/index.html

31 lines
639 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<table>
<th>Numer pokoju</th>
<th>Typ pokoju</th>
<th>Cena</th>
<th> </th>
{% for room in rooms %}
<tr>
<td>{{ room.room_number }}</td>
<td>{{ room.room_type }}</td>
<td>{{ room.price }} zł</td>
<td>
{% if room.reserved %}
ZAREZERWOWANE
{% else %}
Miejsce na przycisk
{% endif %}
</td>
</tr>
{% endfor %}
</table>
</body>
</html>