[ADD] LEAVE: Added accept attr in leave comment file section

This commit is contained in:
Horilla
2024-09-03 14:11:50 +05:30
parent 8083e676e3
commit e29b3b6720
3 changed files with 3 additions and 1 deletions

View File

@@ -102,6 +102,7 @@
name="files"
class="d-none"
multiple="true"
accept=".jpg, .jpeg, .png, .pdf"
id="addFile_{{comment.id}}"
onchange="submitForm(this)"
/>

View File

@@ -102,6 +102,7 @@
name="files"
class="d-none"
multiple="true"
accept=".jpg, .jpeg, .png, .pdf"
id="addFile_{{comment.id}}"
onchange="submitForm(this)"
/>

View File

@@ -85,7 +85,6 @@
class="add-files-form"
hx-encoding="multipart/form-data"
data-target="#leaveactivitySidebar" hx-swap="innerHTML" hx-target="#commentContainer"
>
{% csrf_token %}
<label for="addFile_{{comment.id}}" title="Add Files"
@@ -102,6 +101,7 @@
name="files"
class="d-none"
multiple="true"
accept=".jpg, .jpeg, .png, .pdf"
id="addFile_{{comment.id}}"
onchange="submitForm(this)"
/>