<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{default}">
<head>
    <link rel="stylesheet" href="/css/nation.css"/>
    <link rel="stylesheet" href="/css/modal-nation.css"/>
</head>
<body>
<div layout:fragment="content">
    <div th:each="tank, iterator: ${tanks}">
        <div class="nation-card">
            <p class="nation-attribute" th:text="'Номер: ' + ${tank.id}"/>
            <p class="nation-attribute" th:text="'Название: ' + ${tank.name}"/>
            <p class="nation-attribute" th:text="'Стоимость: ' + ${tank.cost}"/>
            <p class="nation-attribute" th:text="'Уровень: ' + ${tank.level.level}"/>
        </div>
    </div>
</div>