<!DOCTYPE html>
<html lang="pr-br">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/css/style.css">
    <title>Deletar filme</title>
</head>

<body>
    <nav>
        <img src="/img/logo-blue.gif" class="img-fluid gif" alt="Animação Logo Blue">
        <ul>
            <li>
                <a href="/">Home</a>
            </li>
        </ul>
    </nav>

    <% if(message != "") {  %>
        <section id="message">
            <p><%= message %></p> <span id="close">&times;</span>
        </section>
    <% }  %>
    
    <% if(filme != null) {  %>
    <section id="inscrever">

        <form action="/deletar/<%= filme.id %>" method="POST">
            <div>
               <h4>Tem certeza que deseja deletar o filme: <%= filme.nome %></h4>
            </div>
            <button type="submit">Deletar</button>
        </form>
    </section>
    <% }  %>


    <footer>
        <p>
            < The future is blue /> <a href="https://blueedtech.com.br/" target="_blank"> BlueEdtech</a>
        </p>
    </footer>
    <script src="/js/script.js"></script>
</body>

</html>