moviewyrm/bookwyrm/templates/invite.html

32 lines
944 B
HTML
Raw Normal View History

{% extends 'layout.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
{% block content %}
2020-10-01 03:47:26 +00:00
<div class="columns">
<div class="column">
<div class="block">
{% if valid %}
<h1 class="title">{% trans "Create an Account" %}</h1>
2020-10-01 03:47:26 +00:00
<div>
2021-01-12 16:19:08 +00:00
<form name="register" method="post" action="/register">
2020-10-01 03:47:26 +00:00
<input type=hidden name="invite_code" value="{{ invite.code }}">
{% include 'snippets/register_form.html' %}
</form>
</div>
{% else %}
<div class="content">
<h1 class="title">{% trans "Permission Denied" %}</h1>
<p>{% trans "Sorry! This invite code is no longer valid." %}</p>
</div>
{% endif %}
2020-10-01 03:47:26 +00:00
</div>
</div>
<div class="column">
<div class="block">
{% include 'snippets/about.html' %}
2020-10-01 03:47:26 +00:00
</div>
</div>
</div>
2020-10-01 03:47:26 +00:00
{% endblock %}