Revised version of the resource page + related plugins
[unfold.git] / portal / templates / _widget-login-manager.html
1 <div class="well">
2         {% if state %}
3         <span class="help-block">{{ state }}</span>
4         {% endif %}
5         <form action="/login/" method="post" role="form">
6           {% csrf_token %}
7           {% if next %}
8           <input type="hidden" name="next" value="{{ next }}" />
9           {% endif %}
10         <div class="form-group">
11         <label for="username">Email address / Username</label>
12         <input type="email" class="form-control" name="username" placeholder="Enter Email / username">
13         </div>
14         <div class="form-group">
15         <label for="password">Password</label>
16         <input type="password" class="form-control" name="password" placeholder="Password">
17         </div>
18         <div class="login-submit">
19                 <input class="btn btn-default" type="submit" value="Sign In" />
20                 <span class="lost-password">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="/portal/pass_reset/">Can't access your account?</a></span>
21         </div>
22         <div class="login-signup">
23                 <a href="/portal/register">Try</a>, <a href="/portal/register">Sign Up</a> or <a href="/portal/join">Join</a>
24         </div>
25         </form>
26 </div>