mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-23 01:26:39 +03:00
24 lines
578 B
HTML
24 lines
578 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<h3>Signup</h3><hr/>
|
|
{% include "fragments/signup_form.html" %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% comment %}
|
|
{% block script %}
|
|
<script type="text/javascript">
|
|
$().ready(function(){
|
|
$('#signup button[type=submit]').click(function(){
|
|
$.post( "/rest-auth/registration/", $('#signup').serialize())
|
|
.fail(function(data){error_response(data);})
|
|
.done(function(data){susccess_response(data);});
|
|
return false;
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
{% endcomment %}
|