def get(self, request, *args, **kwargs): form = SubmitAddForm() sidebarHtml = RenderSideBar(request) context = { 'sidebar': sidebarHtml, 'form': form, } return render(request, self.template, context)
def get(self, request, *args, **kwargs): sidebarHtml = RenderSideBar(request) form = ReportFormProject() context = { 'form': form, 'sidebar': sidebarHtml, } return render(request, self.template, context)
def get(self, request, *args, **kwargs): sidebarHtml = RenderSideBar(request) form = HostServiceRunningForm() context = { 'sidebar': sidebarHtml, 'form': form, } return render(request, self.template, context)
def get(self, request, *args, **kwargs): form = ScanAddForm() formEdit = ScanAddForm(id='edit') sidebarHtml = RenderSideBar(request) context = { 'sidebar': sidebarHtml, 'form': form, 'formEdit': formEdit, } return render(request, self.template, context)
def get(self, request, *args, **kwargs): sidebarHtml = RenderSideBar(request) form = AccountInfoForm() formChangePassword = CustomChangePasswordForm( User.objects.get(username=request.user)) context = { 'sidebar': sidebarHtml, 'form': form, 'formChangePassword': formChangePassword } return render(request, self.template, context)
def get(self, request, *args, **kwargs): addUserForm = AccountCreationForm() editUserForm = AccountEditForm(id='edit') resetPasswordForm = AccountResetPasswordForm(id='reset') sidebarHtml = RenderSideBar(request) context = { 'sidebar': sidebarHtml, 'addUserForm': addUserForm, 'editUserForm': editUserForm, 'resetPasswordForm': resetPasswordForm } return render(request, self.template, context)
def get(self, request, *args, **kwargs): sidebarHtml = RenderSideBar(request) context = { 'sidebar': sidebarHtml, } return render(request, self.template, context)
def get(self, request, *args, **kwargs): sidebarHtml = RenderSideBar(request) context = {'sidebar': sidebarHtml} return render(request, 'dashboard/dashboard.html', context)
def get(self, request, *args, **kwargs): sidebarHtml = RenderSideBar(request) context = {'sidebar': sidebarHtml} return render(request, 'settings/settings_about.html', context)