feat: Add reply form to mobile comment nested
This commit is contained in:
1 parent
7bdc012868
commit
0e72252d62
4 files changed
+15
-64
No files matched your search
@@ -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 %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user