Skip to content

Commit

Permalink
Make sure to initiate any file upload forms.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Jan 2, 2025
1 parent 7c64b8d commit d5afaf0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n %}
{% load i18n static %}
<form
class="form {{ extra_classes }}"
method="post"
Expand Down Expand Up @@ -41,5 +41,6 @@
{{ value }}
</button>
</div>

</form>
<!-- To initiate any file upload forms. -->
<script src="{% static 'js/file-uploads.js' %}"></script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load i18n %}
{% load i18n static %}

<form
class="form {{ extra_classes }}"
Expand Down Expand Up @@ -40,3 +40,5 @@
>{% trans "Cancel" %}</button>
</div>
</form>
<!-- To initiate any file upload forms. -->
<script src="{% static 'js/file-uploads.js' %}"></script>

0 comments on commit d5afaf0

Please sign in to comment.