Refactor activation resend form
This commit is contained in:
parent
58b112dc47
commit
1c602e618a
8 changed files with 3 additions and 36 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,9 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load static i18n %}
|
{% load static %}
|
||||||
|
|
||||||
{% block title %}{% trans "Resend Activation Email" %}{% endblock %}
|
|
||||||
|
|
||||||
{% comment %}
|
|
||||||
**registration/resend_activation_form.html**
|
|
||||||
Used to show the form users will fill out to resend the activation email. By
|
|
||||||
default, has the following context:
|
|
||||||
|
|
||||||
``form``
|
|
||||||
The registration form. This will be an instance of some subclass
|
|
||||||
of ``django.forms.Form``; consult `Django's forms documentation
|
|
||||||
<http://docs.djangoproject.com/en/dev/topics/forms/>`_ for
|
|
||||||
information on how to display this in a template.
|
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main class="main">
|
<main class="main">
|
||||||
<form class="form activation-form" method="POST">
|
{% url "accounts:login" as cancel_url %}
|
||||||
{% csrf_token %}
|
{% include "form/form.html" with form=form title="Resend activation code" cancel_url=cancel_url confirm_text="Resend code" %}
|
||||||
<div class="form__header">
|
|
||||||
<h1 class="form__title">Resend activation code</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<fieldset class="fieldset activation-form__fieldset">
|
|
||||||
{{ form }}
|
|
||||||
</fieldset>
|
|
||||||
<fieldset class="fieldset activation-form__fieldset">
|
|
||||||
<a class="button button--cancel" href="{% url 'accounts:login' %}">Cancel</a>
|
|
||||||
<button class="button button--confirm" type="submit">Resend code</button>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue