feat: verification and pending verification templates
parent
b0bda6bdca
commit
1104cb4db2
|
@ -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 %}
|
|
@ -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 %}
|
Loading…
Reference in New Issue