django-oidc-provider/example_project/provider_app/templates/login.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2015-08-18 21:04:59 +00:00
{% extends 'base.html' %}
{% block content %}
<div class="ui page grid">
<div class="row">
<div class="six wide centered column">
{% if form.errors %}
<div class="ui negative message">
<p>Your username and password didn't match. Please try again.</p>
</div>
{% endif %}
2015-08-18 21:04:59 +00:00
<form class="ui form segment" method="post" action="{% url 'login' %}">
{% csrf_token %}
<input type="hidden" name="next" value="{{ next }}">
<div class="field">
<label>Username</label>
<input type="text" name="username">
</div>
<div class="field">
<label>Password</label>
<input type="password" name="password">
</div>
<input class="ui submit big primary fluid button" type="submit" value="Enter" />
2015-08-18 21:04:59 +00:00
</form>
</div>
</div>
</div>
{% endblock %}