feat: verification and pending verification templates

wip-payments
Aravinth Manivannan 2022-06-10 22:28:59 +05:30
parent b0bda6bdca
commit 1104cb4db2
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{% extends "common/components/base.html" %}
{% block title %} Confirm Account | Hostea Dashbaord{% endblock %}
{% block nav %} {% include "common/components/nav/pub.html" %} {% endblock %}
{% block main %}
<div class="dialogue-box__container">
<h2>Verify account</h2>
<p>Please verify your email address: {{email}}</p>
<form
action="{% url 'accounts.verify.resend' public_ref=public_ref %}"
method="POST"
class="form"
accept-charset="utf-8"
>
{% include "common/components/error.html" %} {% csrf_token %}
<div class="form__action-container">
<button class="form__submit" type="submit">Click here to resend email</button>
</div>
</form>
</div>
{% endblock %}

View File

@ -0,0 +1,20 @@
{% extends "common/components/base.html" %}
{% block title %} Confirm Account | Hostea Dashbaord{% endblock %}
{% block nav %} {% include "common/components/nav/pub.html" %} {% endblock %}
{% block main %}
<div class="dialogue-box__container">
<h2>Verify account</h2>
<form
action="{% url 'accounts.verify' challenge=challenge %}"
method="POST"
class="form"
accept-charset="utf-8"
>
{% include "common/components/error.html" %} {% csrf_token %}
<p>Please verify your account</p>
<div class="form__action-container">
<button class="form__submit" type="submit">Verify account</button>
</div>
</form>
</div>
{% endblock %}