mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
Adds fallback form to modal
This commit is contained in:
parent
4386d2ddb9
commit
f2ab890b5a
2 changed files with 11 additions and 7 deletions
|
@ -29,13 +29,15 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="block">
|
<section class="block">
|
||||||
<button
|
<form name="fallback" method="GET" action="{% url 'resend-link' %}" autocomplete="off">
|
||||||
type="button"
|
<button
|
||||||
class="button"
|
type="submit"
|
||||||
data-modal-open="resend_form"
|
class="button"
|
||||||
>
|
data-modal-open="resend_form"
|
||||||
{% trans "Can't find your code?" %}
|
>
|
||||||
</button>
|
{% trans "Can't find your code?" %}
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
{% include "confirm_email/resend_modal.html" with id="resend_form" %}
|
{% include "confirm_email/resend_modal.html" with id="resend_form" %}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,11 +22,13 @@
|
||||||
aria-described-by="id_email_errors"
|
aria-described-by="id_email_errors"
|
||||||
required
|
required
|
||||||
>
|
>
|
||||||
|
{% if error %}
|
||||||
<div id="id_email_errors">
|
<div id="id_email_errors">
|
||||||
<p class="help is-danger">
|
<p class="help is-danger">
|
||||||
{% trans "No user matching this email address found." %}
|
{% trans "No user matching this email address found." %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue