mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
Updated modal form code
- Modal form template now uses multipart-data (to allow file uploads) - Cleaned modal_form.js code (split into separate functions)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<form method="post" action='' class='js-modal-form'>
|
||||
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% crispy form %}
|
||||
|
Reference in New Issue
Block a user