summaryrefslogtreecommitdiff
path: root/scipy/templates/login.html
blob: c3db58eccd10684b79f9634e3379cb762a463a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends 'page.html' %}
{% block content %}
<div class="large-6 large-centered columns">
{% if status == "in" %}
<div data-alert class="alert-box alert">
<span>Invalid username or password.</span>
<a href="#" class="close">&times;</a>
</div>
{% endif %}

  <form class="form-signin" action="/2013/accounts/login/" method="POST" enctype="multipart/form-data"> {% csrf_token %}
    <h3 class="form-signin-heading">Please sign in</h3>
    {{ form.as_p }}
    <input type="hidden" name = "next" value="{{ next }}">
    <button class="success expand" type="submit">Sign in</button>
  </form>
  <h6>Dont have an scipy account? <a href="/2013/accounts/register"><u>Register Here.</u></a></h6>
</div>
{% endblock %}