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


</body>
</html>