django-rest-auth/demo/templates/signup.html
2014-10-15 17:32:19 +02:00

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 %}