diff --git a/blazar_dashboard/content/hosts/views.py b/blazar_dashboard/content/hosts/views.py index 0ca9b79..1ab8514 100644 --- a/blazar_dashboard/content/hosts/views.py +++ b/blazar_dashboard/content/hosts/views.py @@ -55,6 +55,7 @@ class UpdateView(forms.ModalFormView): form_class = project_forms.UpdateForm template_name = 'admin/hosts/update.html' success_url = reverse_lazy('horizon:admin:hosts:index') + modal_header = _("Update Host") def get_initial(self): initial = super(UpdateView, self).get_initial() diff --git a/blazar_dashboard/content/leases/views.py b/blazar_dashboard/content/leases/views.py index fdf676f..5dbc9eb 100644 --- a/blazar_dashboard/content/leases/views.py +++ b/blazar_dashboard/content/leases/views.py @@ -61,6 +61,7 @@ class UpdateView(forms.ModalFormView): form_class = project_forms.UpdateForm template_name = 'project/leases/update.html' success_url = reverse_lazy('horizon:project:leases:index') + modal_header = _("Update Lease") def get_initial(self): initial = super(UpdateView, self).get_initial()