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

@ -7,10 +7,10 @@
<div class="profile-grid">
<div class="profile-card">
<h3>Paramètres du compte</h3>
<form method="post">
<form method="post" class="form">
{% csrf_token %}
{{ user_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>