Add registration button

This commit is contained in:
Mark Veidemanis 2022-08-14 16:25:38 +01:00
parent 3671d94e59
commit 555bcb4c09
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 14 additions and 0 deletions

View File

@ -37,6 +37,20 @@
<span>Reset auth</span> <span>Reset auth</span>
</span> </span>
</button> </button>
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-post="{% url 'threshold_irc_actions_registration_auth' %}"
hx-vals='{"net": "{{ net }}", "func": "register"}'
hx-trigger="click"
hx-target="#modals-here"
class="button is-info">
<span class="icon-text">
<span class="icon">
<i class="fa-solid fa-wrench"></i>
</span>
<span>Register</span>
</span>
</button>
</div> </div>
{% if unreg %} {% if unreg %}
<form <form