generated from 2martens/django-template
Initial commit
This commit is contained in:
16
app/templates/registration/register.html
Normal file
16
app/templates/registration/register.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends "app/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}{{ site.title }} - {% trans "Register" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans "Register a new user" %}</h1>
|
||||
|
||||
<form method="post" action="{% url "register" %}">
|
||||
{% csrf_token %}
|
||||
{{ user_form|crispy }}
|
||||
{{ profile_form|crispy }}
|
||||
<button type="submit" class="btn btn-primary">{% trans "Register" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user