ref: master
templates/index.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
<!doctype html> <html> <head> <meta charset="utf-8" /> <title>Dinheiro</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/public/app.css" /> </head> <body> <h1>Hello!</h1> {{ if . }} <p> Logged </p> {{ else }} <p> Not Logged </p> {{ end }} <div> <form method="POST" action="/auth"> <div> <label for="email"> E-mail </label> <input type="email" name="email" /> </div> <div> <label for="password"> Password </label> <input type="password" name="password" /> </div> <div class="action"> <button type="submit"> Enviar </button> </div> </form> </div> </body> </html> |