feat: Upgrade django-registration to 5.1
This commit is contained in:
15
src/templates/django_registration/activation_form.html
Normal file
15
src/templates/django_registration/activation_form.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "fellchensammlung/base_generic.html" %}
|
||||
{% load i18n %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block content %}
|
||||
{% if not user.is_authenticated %}
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" class="btn2" value={% translate 'Absenden' %}>
|
||||
</form>
|
||||
{% else %}
|
||||
<p>{% translate "Du bist bereits eingeloggt." %}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user