mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Removed old forms from Company
This commit is contained in:
parent
0654fa7cc9
commit
e57303ed37
@ -1,5 +0,0 @@
|
||||
{% extends "create_edit_obj.html" %}
|
||||
|
||||
{% block obj_title %}
|
||||
Create a new supplier
|
||||
{% endblock %}
|
@ -1,5 +0,0 @@
|
||||
{% extends "create_edit_obj.html" %}
|
||||
|
||||
{% block obj_title %}
|
||||
Edit details for company '{{ company.name }}'
|
||||
{% endblock %}
|
@ -51,7 +51,6 @@ class CompanyImage(AjaxUpdateView):
|
||||
class CompanyEdit(AjaxUpdateView):
|
||||
model = Company
|
||||
form_class = EditCompanyForm
|
||||
template_name = 'company/edit.html'
|
||||
context_object_name = 'company'
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Edit Company'
|
||||
@ -66,7 +65,6 @@ class CompanyCreate(AjaxCreateView):
|
||||
model = Company
|
||||
context_object_name = 'company'
|
||||
form_class = EditCompanyForm
|
||||
template_name = "company/create.html"
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = "Create new Company"
|
||||
|
||||
@ -79,7 +77,7 @@ class CompanyCreate(AjaxCreateView):
|
||||
class CompanyDelete(AjaxDeleteView):
|
||||
model = Company
|
||||
success_url = '/company/'
|
||||
template_name = 'company/delete.html'
|
||||
ajax_template_name = 'company/delete.html'
|
||||
ajax_form_title = 'Delete Company'
|
||||
|
||||
def get_data(self):
|
||||
|
Loading…
Reference in New Issue
Block a user