Add comment system with models, forms, and UI integration for lessons

This commit is contained in:
mrtoine 2025-12-10 22:22:17 +01:00
parent c22622ebc1
commit 95111240bc
26 changed files with 1001 additions and 77 deletions

View file

@ -15,10 +15,10 @@
</div>
</div>
<form method="post" enctype="multipart/form-data">
<form method="post" enctype="multipart/form-data" class="form">
{% csrf_token %}
{{ profile_form.as_p }}
<div class="text-right" style="margin-top:12px; display:flex; gap:8px; justify-content:flex-end;">
<div class="form-actions">
<a href="{% url 'profile' %}" class="btn btn-secondary">Annuler</a>
<button type="submit" class="btn btn-primary">Enregistrer</button>
</div>