moviewyrm/bookwyrm/templates/invite.html
2021-01-12 08:19:08 -08:00

30 lines
886 B
HTML

{% extends 'layout.html' %}
{% block content %}
<div class="columns">
<div class="column">
<div class="block">
{% if valid %}
<h1 class="title">Create an Account</h1>
<div>
<form name="register" method="post" action="/register">
<input type=hidden name="invite_code" value="{{ invite.code }}">
{% include 'snippets/register_form.html' %}
</form>
</div>
{% else %}
<div class="content">
<h1 class="title">Permission Denied</h1>
<p>Sorry! This invite code is no longer valid.</p>
</div>
{% endif %}
</div>
</div>
<div class="column">
<div class="block">
{% include 'snippets/about.html' %}
</div>
</div>
</div>
{% endblock %}