mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Temporary fix to cable_form tag. No cable functionality has actually been added, that can be done once the frontend is in place to handle it.
This commit is contained in:
@@ -16,7 +16,7 @@ from assets import models, forms
|
||||
class CableFormMixin:
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
context["cable_form"] = forms.CableForm(**self.get_form_kwargs())
|
||||
context["cable_form"] = forms.CableForm()
|
||||
return context
|
||||
|
||||
class AssetList(LoginRequiredMixin, generic.ListView):
|
||||
|
||||
Reference in New Issue
Block a user