diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-05 00:05:32 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-05 00:05:32 -0500 |
| commit | 6a1d6a7365fb917784d378cf3b3683c85bb81b48 (patch) | |
| tree | 50f15b242488337acfd2af82f4a3068ce654fc9d /templates/login.html | |
| parent | ba4695dbdfcb96af70f9139ad279536d9398d29a (diff) | |
| download | famille-flask-6a1d6a7365fb917784d378cf3b3683c85bb81b48.tar.gz | |
starting to hook things up
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..d1b94ee --- /dev/null +++ b/templates/login.html @@ -0,0 +1,17 @@ +{% extends "layout.html" %} +{% block content %} + +<h2>Login</h2> +{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %} + <form id = "connection" action="{{ url_for('login') }}" method="post"> + <fieldset> + <legend>Connexion</legend> + <p> + <label for="name">Nom : </label> + <input type="text" id="name" name=username /><br/> + <label for="password">Mot de passe : </label> + <input type="password" id="password" name=password /><br/> + </p> + <p class="submit"><input type="submit" value="Se connecter"/></p> + </form> + {% endblock %} |
