2015-05-16 21:43:46 +00:00
|
|
|
{% extends "cas_server/base.html" %}
|
2015-05-22 15:55:00 +00:00
|
|
|
{% load i18n %}
|
2016-07-23 23:49:03 +00:00
|
|
|
|
|
|
|
{% block ante_messages %}
|
2016-06-17 17:28:49 +00:00
|
|
|
{% if auto_submit %}<noscript>{% endif %}
|
2016-07-23 23:49:03 +00:00
|
|
|
<h2 class="form-signin-heading">{% trans "Please log in" %}</h2>
|
2016-06-17 17:28:49 +00:00
|
|
|
{% if auto_submit %}</noscript>{% endif %}
|
2016-07-23 23:49:03 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<form class="form-signin" method="post" id="login_form"{% if post_url %} action="{{post_url}}"{% endif %}>
|
|
|
|
{% csrf_token %}
|
|
|
|
{% include "cas_server/form.html" %}
|
|
|
|
{% if auto_submit %}<noscript>{% endif %}
|
|
|
|
<button class="btn btn-primary btn-block btn-lg" type="submit">{% trans "Login" %}</button>
|
|
|
|
{% if auto_submit %}</noscript>{% endif %}
|
|
|
|
</form>
|
2016-06-17 17:28:49 +00:00
|
|
|
{% if auto_submit %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
document.getElementById('login_form').submit(); // SUBMIT FORM
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
2015-05-16 21:43:46 +00:00
|
|
|
{% endblock %}
|
|
|
|
|