{% extends "base.html" %} {% load crispy_forms_tags %} {% block content %} <div class="row"> <div class="col-sm-12"> <div class="panel panel-default"> <div class="panel-heading">Registration</div> <div class="panel-body"> <p> <span class="label label-info">Note:</span> Please choose a sane username. </p> <form method="POST" action="{% url 'user:register' %}"> {% csrf_token %} {{ form|crispy }} <button class="btn btn-primary">Register</button> </form> </div> </div> </div> </div> {% endblock %}