Commit 4019c5fa authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Restyled login form.

parent cb546459
......@@ -2,27 +2,41 @@
{% block content %}
{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
<h1>Log In</h1>
<p>
Please log in using your GMU NetID.
</p>
<form id="login-form" method="post" action="{% url 'django.contrib.auth.views.login' %}">
{% csrf_token %}
<label for="username">user</label>
<br />
<input type="username" name="username" id="username" placeholder="Username" />
<br /><br />
<label for="password">password</label>
<br />
<input type="password" name="password" id="password" placeholder="Password" />
<br /><br />
<input type="submit" value="Sign in" />
</form>
{% endblock %}
<div class="container">
<a name="top"></a>
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12">
<h1>Login</h1>
<p class="lead">Description</p>
</div>
</div>
</div>
{% if form.errors %}
<div class="row">
<div class="col-lg-12">
<p>Your username and password didn't match. Please try again.</p>
</div>
</div>
{% endif %}
<p>Please log in using your GMU NetID.</p>
<form id="login-form" method="post" action="{% url 'django.contrib.auth.views.login' %}">
{% csrf_token %}
<label for="username">user</label>
<br />
<input type="username" name="username" id="username" placeholder="Username" />
<br /><br />
<label for="password">password</label>
<br />
<input type="password" name="password" id="password" placeholder="Password" />
<br /><br />
<input type="submit" value="Sign in" />
</form>
</div>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment