Commit c1a8bf76 by Vitória Titon

barra de pesquisa teste

parent a7bcb0a8
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
</header> </header>
<div> <div>
<a href="/cadastro">Cadastrar Receita</a> <a href="/cadastro">Cadastrar Receita</a>
<form method="GET" action="/">
<input type="text" name="pesquisa" placeholder="Pesquisar receita..." />
<button type="submit">Buscar</button>
</form>
<h1>Lista de Receitas</h1> <h1>Lista de Receitas</h1>
<ul> <ul>
{% for receita in receitas %} {% for receita in receitas %}
......
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