Quick fix for the signin page, we should consider moving it over to AJAX though.

This commit is contained in:
yackob03 2013-10-01 13:48:37 -04:00
parent e81a24a9ce
commit 4746f9c324
3 changed files with 21 additions and 8 deletions

View file

@ -10,10 +10,14 @@
<body>
<div class="container">
<form method="post" class="form-signin">
<input type="text" class="form-control" placeholder="Username" name="username" autofocus>
<input type="text" class="form-control" placeholder="Username" name="username" value="{{ username }}"autofocus>
<input type="password" class="form-control" placeholder="Password" name="password">
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign In</button>
</form>
{% if error %}
<div class="alert alert-danger">{{ error }}</div>
{% endif %}
</div>
</body>
</html>