2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 21:20:56 +00:00

Simplified custom button text for modal forms

- Now only configured from the javascript end
- No server-side configuration of button text
This commit is contained in:
Oliver Walters
2019-04-13 23:02:23 +10:00
parent 0e7472dabc
commit e6e03963c4
8 changed files with 24 additions and 19 deletions

View File

@ -134,7 +134,6 @@ class StockItemMove(AjaxUpdateView):
template_name = 'modal_form.html'
context_object_name = 'item'
ajax_form_title = 'Move Stock Item'
ajax_submit_text = 'Move'
form_class = MoveStockItemForm
def post(self, request, *args, **kwargs):