feat: Add reply form to mobile comment nested

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-04 22:16:25 +08:00
1 parent 7bdc012868
commit 0e72252d62
4 files changed
+15 -64

No files matched your search

+14
View File
@@ -51,6 +51,20 @@
<span class="text-text-muted text-sm opacity-75">{{ comment.date | date: "%d %b %Y" }}</span>
</small>
</div>
<!-- Reply Box -->
<form>
<div class="mb-4">
<div>
<textarea class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs" id="comment-body" name="body" placeholder="Enter your comment" required></textarea>
</div>
<p class="mt-1 text-xs text-text-muted">Must be at least 8 characters long.</p>
</div>
<div>
<button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Reply</button>
</div>
</form>
</div>
{% endfor %}