Deleted unused forms in Build

- These now use modal forms
- Removed redundant templates
This commit is contained in:
Oliver Walters 2019-04-18 23:35:06 +10:00
parent 2191b7f719
commit 0654fa7cc9
3 changed files with 0 additions and 12 deletions

View File

@ -1,5 +0,0 @@
{% extends "create_edit_obj.html" %}
{% block obj_title %}
Create a new build
{% endblock %}

View File

@ -1,5 +0,0 @@
{% extends "create_edit_obj.html" %}
{% block obj_title %}
Edit build details
{% endblock %}

View File

@ -70,7 +70,6 @@ class BuildAllocate(DetailView):
class BuildCreate(AjaxCreateView): class BuildCreate(AjaxCreateView):
model = Build model = Build
template_name = 'build/create.html'
context_object_name = 'build' context_object_name = 'build'
form_class = EditBuildForm form_class = EditBuildForm
ajax_form_title = 'Start new Build' ajax_form_title = 'Start new Build'
@ -96,7 +95,6 @@ class BuildUpdate(AjaxUpdateView):
model = Build model = Build
form_class = EditBuildForm form_class = EditBuildForm
context_object_name = 'build' context_object_name = 'build'
template_name = 'build/update.html'
ajax_form_title = 'Edit Build Details' ajax_form_title = 'Edit Build Details'
ajax_template_name = 'modal_form.html' ajax_template_name = 'modal_form.html'