<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="headerfiles">
    <meta charset="UTF-8"/>
</head>
<body>
<div th:fragment="grantLine (grant)" class="row text-left grant-row" style="background-color: white;">
    <div class="col">
        <span th:replace="grants/fragments/grantStatusFragment :: grantStatus(grantStatus=${grant.status})"/>
        <a th:href="@{'grant?id='+${grant.id}}">
            <span class="h6" th:text="${grant.title}"/>
            <span class="text-muted" th:text="${grant.comment}"/>
        </a>
        <input class="id-class" type="hidden" th:value="${grant.id}"/>
        <a class="remove-paper  pull-right d-none" th:href="@{'/grants/delete/'+${grant.id}}"
           data-confirm="Удалить грант?">
            <i class="fa fa-trash" aria-hidden="true"></i>
        </a>
    </div>
</div>
</body>
</html>