First Commit

This commit is contained in:
mrtoine 2025-09-12 11:11:44 +02:00
commit ce0758fbbb
496 changed files with 52062 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{% extends 'layout.html' %}
{% load users_custom_tags %}
{% load bbcode_tags %}
{% block content %}
<div class="container">
<h2>Livre d'Or</h2>
<div class="guestbook">
{% for message in guestbook %}
<p>Le {{ message.created }}, <span class="author {{ message.author.username_decoration }}">{{ message.author }}</span> à dit : {{ message.content|bbcode|safe|linebreaksbr }}</p>
{% endfor %}
</div>
<h3 id="form">Laisser un message</h3>
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<!-- <script src='https://www.google.com/recaptcha/api.js'></script>
<div class="g-recaptcha" style="margin-left:50px" data-sitekey="{{ GOOGLE_PUBLIC_KEY }}"></div> -->
<button>Envoyer</button>
</form>
</div>
{% endblock %}