2020-06-01 21:34:45 +00:00
|
|
|
{% extends 'layout.html' %}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% load i18n %}
|
2021-02-28 18:00:36 +00:00
|
|
|
|
|
|
|
{% block title %}{% trans "Create an Account" %}{% endblock %}
|
|
|
|
|
2020-06-01 21:34:45 +00:00
|
|
|
{% block content %}
|
|
|
|
|
2021-09-18 22:10:25 +00:00
|
|
|
<h1 class="title">{% trans "Create an Account" %}</h1>
|
2020-10-01 03:47:26 +00:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
2021-01-06 21:13:19 +00:00
|
|
|
<div class="block">
|
|
|
|
{% if valid %}
|
2020-10-01 03:47:26 +00:00
|
|
|
<div>
|
2021-01-12 16:19:08 +00:00
|
|
|
<form name="register" method="post" action="/register">
|
2021-10-16 18:15:38 +00:00
|
|
|
<input type="hidden" name="invite_code" value="{{ invite.code }}">
|
2020-10-01 03:47:26 +00:00
|
|
|
{% include 'snippets/register_form.html' %}
|
|
|
|
</form>
|
|
|
|
</div>
|
2021-01-06 21:13:19 +00:00
|
|
|
{% else %}
|
|
|
|
<div class="content">
|
2021-02-27 22:22:39 +00:00
|
|
|
<h1 class="title">{% trans "Permission Denied" %}</h1>
|
|
|
|
<p>{% trans "Sorry! This invite code is no longer valid." %}</p>
|
2021-01-06 21:13:19 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column">
|
2021-09-18 22:10:25 +00:00
|
|
|
<div class="box">
|
2020-12-11 20:07:37 +00:00
|
|
|
{% include 'snippets/about.html' %}
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
2020-06-01 21:34:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-10-01 03:47:26 +00:00
|
|
|
|
2020-06-01 21:34:45 +00:00
|
|
|
{% endblock %}
|