Add titles to "Update Lease" and "Update Host" forms

This presents a more uniform style when looking at the modal forms.

Change-Id: If162ce4c2fcda845d7e233bb52669aeab2d73df5
changes/87/519987/2
Nick Timkovich 6 years ago committed by Pierre Riteau
parent 0bf7b08b5b
commit 7bf6e72692

@ -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()

@ -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()

Loading…
Cancel
Save