mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Deleted unused forms in Build
- These now use modal forms - Removed redundant templates
This commit is contained in:
parent
2191b7f719
commit
0654fa7cc9
@ -1,5 +0,0 @@
|
||||
{% extends "create_edit_obj.html" %}
|
||||
|
||||
{% block obj_title %}
|
||||
Create a new build
|
||||
{% endblock %}
|
@ -1,5 +0,0 @@
|
||||
{% extends "create_edit_obj.html" %}
|
||||
|
||||
{% block obj_title %}
|
||||
Edit build details
|
||||
{% endblock %}
|
@ -70,7 +70,6 @@ class BuildAllocate(DetailView):
|
||||
|
||||
class BuildCreate(AjaxCreateView):
|
||||
model = Build
|
||||
template_name = 'build/create.html'
|
||||
context_object_name = 'build'
|
||||
form_class = EditBuildForm
|
||||
ajax_form_title = 'Start new Build'
|
||||
@ -96,7 +95,6 @@ class BuildUpdate(AjaxUpdateView):
|
||||
model = Build
|
||||
form_class = EditBuildForm
|
||||
context_object_name = 'build'
|
||||
template_name = 'build/update.html'
|
||||
ajax_form_title = 'Edit Build Details'
|
||||
ajax_template_name = 'modal_form.html'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user