diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-23 14:03:03 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-02-01 01:55:30 +0300 |
commit | 639cf728f8c14560e85e0f54d5f4f27329d98c3c (patch) | |
tree | 39fa7b8605c0c2848f7e81fd6ad7474faef57997 /app/views/projects/pages_domains | |
parent | 5556db04040c8c97834728dcf0fb26d2ea2c9a16 (diff) |
Fix adding pages domain to projects in groups
Diffstat (limited to 'app/views/projects/pages_domains')
-rw-r--r-- | app/views/projects/pages_domains/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pages_domains/_form.html.haml b/app/views/projects/pages_domains/_form.html.haml index e97d19653d5..ca1b41b140a 100644 --- a/app/views/projects/pages_domains/_form.html.haml +++ b/app/views/projects/pages_domains/_form.html.haml @@ -1,4 +1,4 @@ -= form_for [@project.namespace, @project, @domain], html: { class: 'form-horizontal fieldset-form' } do |f| += form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'form-horizontal fieldset-form' } do |f| - if @domain.errors.any? #error_explanation .alert.alert-danger |