{% extends "base.html" %} {% block title %} {{ data.title|default:'ICCLab RCB Demo Site' }} {% endblock %} {% block my_content %} {% if form.errors %}

Sorry, that's not a valid username or password

{% endif %}
{% block content %} {% if status == True %}

The authentication was successful, below are the data we got.

{% if token_data %} {% for key, value in token_data.iteritems %} {% if key != 'token_id' %} {% endif %} {% endfor %}
{{key}} {{value}}

The authentication token is

{{token_data.token_id}}
{% endif %} {% else %}

The authentication was not successful.

Authenticicate {% endif %} {% endblock %}
{% endblock %}