2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

More cleanup for modal forms

- Require 'ajax_template_name' to be set or weird things happen!
This commit is contained in:
Oliver Walters
2019-04-16 21:25:20 +10:00
parent c0dd253137
commit be60fbcc25
4 changed files with 69 additions and 11 deletions

View File

@ -82,7 +82,7 @@ class StockItemEdit(AjaxUpdateView):
form_class = EditStockItemForm
template_name = 'stock/item_edit.html'
context_object_name = 'item'
ajax_template_name = 'modal_form.html'
#ajax_template_name = 'modal_form.html'
ajax_form_title = 'Edit Stock Item'