2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

crispy forms for FileManagementFormView

This commit is contained in:
2021-05-16 16:00:02 +02:00
parent b9c73b1e60
commit 3a5b4ab74b
3 changed files with 17 additions and 5 deletions

View File

@ -2,6 +2,7 @@
{% load inventree_extras %}
{% load i18n %}
{% load static %}
{% load crispy_forms_tags %}
{% block form_alert %}
{% if form.errors %}
@ -57,7 +58,7 @@
{% with row_name=item.column.guess|lower %}
{% for field in form.visible_fields %}
{% if field.name == row|keyvalue:row_name %}
{{ field }}
{{ field|as_crispy_field }}
{% endif %}
{% endfor %}
{% endwith %}