Melhorias nos HTMLs

parent a80c2760
<!DOCTYPE html>
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/static/style.css" />
<title>Cadastro</title>
</head>
<body>
<div>
<form action="/cadastro" method="POST">
<label for="nome">Nome da Receita</label>
<input id="nome" name="nome" type="text" required>
<input id="nome" name="nome" type="text" required />
<button type="reset">Limpar</button>
<button type="submit">Salvar</button>
</form>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css">
<title>Editar Receita</title>
</head>
<body>
<div>
<form action="/editar/{{ receita.id }}" method="POST">
......@@ -17,4 +19,5 @@
</form>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/static/style.css" />
<title>Dishly</title>
</head>
<body>
<a href="/cadastro">Cadastrar Receita</a>
<h1>Lista de Receitas</h1>
<ul>
{% for receita in receitas %}
<header>
<h1>Seja Bem-vindo ao Dishly</h1>
</header>
<div>
<a href="/cadastro">Cadastrar Receita</a>
<h1>Lista de Receitas</h1>
<ul>
{% for receita in receitas %}
<li>
{{ receita.nome }}
<a href="/editar/{{ receita.id }}">Editar</a>
</li>
{% endfor %}
</ul>
{% endfor %}
</ul>
</div>
<footer>
<p>&copy; 2023 Dishly. Todos os direitos reservados.</p>
</footer>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment