<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Ajout une image</title>

    <link href="/css/main.css" rel="stylesheet"/>
</head>
<body>

<section>
    <p class="error" th:text="${error}"></p>

    <form action="/images/add" class="requireAuth" enctype="multipart/form-data" method="POST">
        <input name="recipeID" th:value="${recipeID}" type="hidden"/>

        <input id="image" name="image" required type="file"/>
        <br/>
        <input type="submit" value="Sauvegarde"/>
    </form>
</section>

<script src="/js/main.js"></script>
</body>
</html>