]>
Commit | Line | Data |
---|---|---|
66862195 MT |
1 | {% extends "../base.html" %} |
2 | ||
6a2f18b8 MT |
3 | {% block title %}{{ _("Log In") }}{% end block %} |
4 | ||
5 | {% block content %} | |
6 | <div class="row justify-content-center my-5"> | |
7 | <div class="col col-md-4"> | |
8 | <div class="card"> | |
9 | <div class="card-body"> | |
10 | <h5 class="card-title text-center mb-4">{{ _("Log In") }}</h5> | |
11 | ||
12 | <form action="" method="POST"> | |
13 | {% raw xsrf_form_html() %} | |
14 | ||
d2db5616 | 15 | <input type="hidden" name="next" value="{{ next or "" }}"> |
6a2f18b8 | 16 | |
96fbd259 MT |
17 | <div class="form-group"> |
18 | <input type="text" class="form-control form-control-lg" | |
19 | name="username" placeholder="{{ _("Username") }}" required autofocus> | |
20 | </div> | |
21 | ||
22 | <div class="form-group"> | |
23 | <input type="password" class="form-control form-control-lg" | |
24 | name="password" placeholder="{{ _("Password") }}" required> | |
25 | </div> | |
6a2f18b8 MT |
26 | |
27 | <button type="submit" class="btn btn-primary btn-block"> | |
28 | {{ _("Log in") }} | |
29 | </button> | |
30 | </form> | |
31 | </div> | |
66862195 MT |
32 | </div> |
33 | </div> | |
6a2f18b8 | 34 | </div> |
66862195 | 35 | {% end block %} |