diff options
Diffstat (limited to 'app/views/projects/pages_domains/show.html.haml')
-rw-r--r-- | app/views/projects/pages_domains/show.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/pages_domains/show.html.haml b/app/views/projects/pages_domains/show.html.haml index a08be65d7e4..e1be7335a3f 100644 --- a/app/views/projects/pages_domains/show.html.haml +++ b/app/views/projects/pages_domains/show.html.haml @@ -1,10 +1,10 @@ - add_to_breadcrumbs _("Pages"), project_pages_path(@project) -- breadcrumb_title @domain.domain -- page_title @domain.domain +- breadcrumb_title domain_presenter.domain +- page_title domain_presenter.domain - verification_enabled = Gitlab::CurrentSettings.pages_domain_verification_enabled? -- if verification_enabled && @domain.unverified? +- if verification_enabled && domain_presenter.unverified? = content_for :flash_message do .alert.alert-warning .container-fluid.container-limited @@ -14,7 +14,7 @@ = _('Pages Domain') = render 'projects/pages_domains/helper_text' %div - = form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'fieldset-form' } do |f| + = form_for [@project.namespace.becomes(Namespace), @project, domain_presenter], html: { class: 'fieldset-form' } do |f| = render 'form', { f: f } .form-actions.d-flex.justify-content-between = f.submit _('Save Changes'), class: "btn btn-success" |