mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-24 10:03:44 +03:00
21 lines
667 B
HTML
21 lines
667 B
HTML
{% 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">
|
|
<button type="submit" class="btn btn-default">Login</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group api-response"></div>
|
|
</form>
|
|
{% endblock %}
|