1
0
Fork 0
bookwyrm/fedireads/templates/login.html

55 lines
1.3 KiB
HTML
Raw Normal View History

2020-01-25 15:25:19 -08:00
{% extends 'layout.html' %}
{% block content %}
2020-03-15 14:15:36 -07:00
<div class="content-container">
<h2>About {{ site_settings.name }}</h2>
<p>
{{ site_settings.instance_description }}
</p>
<p>
<small>
<a href="/about/">More about this site</a>
</small>
</p>
</div>
<div class="row">
2020-03-15 14:15:36 -07:00
<div class="content-container login">
<h2>Create an Account</h2>
<p><small>
With a BookWyrm account, you can track and share your reading activity with
friends here and on any other federated server, like Mastodon and PixelFed.
</small></p>
{% if site_settings.allow_registration %}
2020-01-28 17:23:38 -08:00
<div>
2020-03-15 14:15:36 -07:00
<form name="register" method="post" action="/register">
{% csrf_token %}
{{ register_form.as_p }}
<button type="submit">Create account</button>
</form>
</div>
{% else %}
<small>
This instance is not open for registration.
</small>
{% endif %}
2020-03-15 14:15:36 -07:00
</div>
<div class="content-container login">
<h2>Log in</h2>
<div>
<form name="login" method="post" action="/user-login">
2020-01-29 12:24:50 -08:00
{% csrf_token %}
2020-01-28 23:23:05 -08:00
{{ login_form.as_p }}
2020-01-28 17:23:38 -08:00
<button type="submit">Log in</button>
</form>
2020-03-15 14:15:36 -07:00
<p><small><a href="/reset-password">Forgot your password?</a></small></p>
2020-01-28 17:23:38 -08:00
</div>
2020-03-15 14:15:36 -07:00
</div>
2020-01-28 19:05:59 -08:00
2020-01-28 17:23:38 -08:00
</div>
2020-01-25 15:25:19 -08:00
{% endblock %}