<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout/mainLayout}"> <head> <title th:text="${title}">Inbox title</title> </head> <body> <section id="content"> <ul layout:fragment="content" id="private-messages" th:if="${not #lists.isEmpty(msgs)}"> <li class="msg" th:each="msg:${msgs}"> <div class="msg-cont"> <div class="msg-header"> @<a th:href="|/${msg.getUser().getName()}/|" th:text="${msg.getUser().getName()}">ugnich</a>: <div class="msg-avatar"> <a th:href="|/${msg.getUser().getName()}/|"> <img th:src="|//i.juick.com/a/${msg.getUser().getUid()}.png|" th:alt="${msg.getUser().getName()}"/> </a> </div> <div class="msg-ts" th:text="${msg.getDate()}">01.01.1970</div> </div> <div class="msg-txt" th:utext="${msg.getText()}">Lorem ipsum</div> <form action="/pm/send" method="POST" enctype="multipart/form-data"> <input type="hidden" name="uname" th:value="${msg.getUser().getName()}"/> <div class="msg-comment"> <div class="ta-wrapper"> <textarea name="body" rows="1" class="replypm" placeholder="Write a reply" th:placeholder="#{postForm.writeReply}"></textarea> </div> </div> </form> </div> </li> </ul> </section> <aside id="column"> <p layout:fragment="column" th:replace="views/partial/homecolumn">Main side column</p> </aside> </body> </html>