<!DOCTYPE html>
<html lang="pt-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">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,700,0,200" /></head>
    <title>Catálogo</title>
</head>
<body>
    <header>
        <nav>
            <ul>
                <li>
                    <a href="/"><span id="home" class="material-symbols-outlined">
                        home
                        </span>
                    </a>
                </li>
            </ul>
        </nav>
    </header>
    <main>
        <section class="campo">
            <h1>Edite sua música</h1>
            <form action="/done/<%= music.id %>" method="POST">
                <label for="nome">Nome:</label>
                <input type="text" id="nome" name="nome" value="<%= music.nome %>">

                <label for="autor">Autor:</label>
                <input type="text" id="autor" name="autor" value="<%= music.autor %>">

                <label for="album">Álbum:</label>
                <input type="text" id="album" name="album" value="<%= music.album %>">

                <label for="capa">Capa:</label>
                <input type="text" id="capa" name="capa" value=<%= music.capa %>>

                <button id="editar" type="submit">Salvar</button>
            </form>
        </section>
    </main>
</body>
</html>