bizcochito.onion/templates/signbook.njk

54 lines
1.1 KiB
Plaintext
Executable File

{% extends "base.njk" %}
<div class="centercubeplease">
<h1>
Cool signers:
</h1>
{% if signer_list %}
<p>
<ul>
{% for signer in signer_list %}
<li>
<a href="https://{{ signer.website }}">
<b>
{{ signer.name }}
</b>
</a> said:
<b>
{{ signer.comment }}.
</b>
{% if signer.email %}
Pester on:
<a href="mailto:{{ signer.email }}">{{ signer.email }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
</p>
{% else %}
<p>
No one signed here :(
</p>
{% endif %}
</div>
<div class="centerade">
<h2>
Be part of this cuties!
</h2>
<p>
<p>
<form method="post" action="">
{% csrf_token %}
{% if error_message %}
<p>
<strong>{{ error_message }}</strong>
</p>
{% endif %}
<table>
{{ form.as_table }}
</table>
<input type="submit" />
</form>
</p>
</p>
</div>