Skip to content

Commit

Permalink
Add file type filter in upload form
Browse files Browse the repository at this point in the history
  • Loading branch information
m6121 committed Nov 19, 2021
1 parent cf3f1f6 commit 882af90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmo/core/templates/core/upload_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<input type="hidden" name="method" value="upload_file" />

<div class="upload-form-field">
<input type="file" name="uploaded_file" />
<input type="file" name="uploaded_file" accept=".xml, application/xml" />
<p>{% trans "Select file" %}</p>
</div>

Expand Down

0 comments on commit 882af90

Please sign in to comment.