Merge pull request #483 from mouse-reeve/registration-text-format

Fixes html formatting for registration closed text
This commit is contained in:
Mouse Reeve 2021-01-05 11:37:09 -08:00 committed by GitHub
commit aa5bf8a382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
</div> </div>
</div> </div>
<div class="tile is-5 is-parent"> <div class="tile is-5 is-parent">
<div class="tile is-child box has-background-primary-light"> <div class="tile is-child box has-background-primary-light content">
{% if site.allow_registration %} {% if site.allow_registration %}
<h2 class="title">Join {{ site.name }}</h2> <h2 class="title">Join {{ site.name }}</h2>
<form name="register" method="post" action="/user-register"> <form name="register" method="post" action="/user-register">
@ -21,7 +21,7 @@
</form> </form>
{% else %} {% else %}
<h2 class="title">This instance is closed</h2> <h2 class="title">This instance is closed</h2>
<p>{{ site.registration_closed_text }}</p> <p>{{ site.registration_closed_text | safe}}</p>
{% endif %} {% endif %}
</div> </div>
</div> </div>