This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
1 |
{% extends "layout.html" %} |
2 |
{% block body %} |
3 |
<h2>Login</h2> |
4 |
{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %} |
5 |
<form class="form-horizontal" role="form" action="{{ url_for('login') }}" method=post> |
6 |
<div class="form-group"> |
7 |
<label for="username" class="col-sm-2 control-label">Username</label> |
8 |
<div class="col-sm-10"> |
9 |
<input type="text" class="form-control" name="username" id="username" placeholder="murugan"> |
10 |
</div> |
11 |
</div> |
12 |
<div class="form-group"> |
13 |
<label for="password" class="col-sm-2 control-label">Password</label> |
14 |
<div class="col-sm-10"> |
15 |
<input type="password" class="form-control" id="password" name="password" placeholder="Password"> |
16 |
</div> |
17 |
</div> |
18 |
<div class="form-group"> |
19 |
<div class="col-sm-offset-2 col-sm-10"> |
20 |
<button type="submit" class="btn btn-default">Sign in</button> |
21 |
</div> |
22 |
</div> |
23 |
</form> |
24 |
{% endblock %} |