2016-02-09 01:14:25 +03:00
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<form class="form-horizontal ajax-post" role="form" action="{% url 'rest_logout' %}">{% csrf_token %}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="token" class="col-sm-2 control-label">User Token</label>
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<input name="token" type="text" class="form-control" id="token" placeholder="Token">
|
|
|
|
<p class="help-block">Token received after login</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-2 col-sm-10">
|
2016-07-29 22:23:52 +03:00
|
|
|
<button type="submit" class="btn btn-default">Logout</button>
|
2016-02-09 01:14:25 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group api-response"></div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|