diff options
Diffstat (limited to 'app/views/shared/_import_form.html.haml')
-rw-r--r-- | app/views/shared/_import_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_import_form.html.haml b/app/views/shared/_import_form.html.haml index 7248403d6c9..d10f514dc58 100644 --- a/app/views/shared/_import_form.html.haml +++ b/app/views/shared/_import_form.html.haml @@ -22,9 +22,9 @@ = f.text_field :import_url, value: import_url.sanitized_url, autocomplete: 'off', class: 'form-control gl-form-input', placeholder: 'https://gitlab.company.com/group/project.git', required: true = render Pajamas::AlertComponent.new(variant: :danger, - alert_class: 'gl-mt-3 js-import-url-error hide', + alert_options: { class: 'gl-mt-3 js-import-url-error hide' }, dismissible: false, - close_button_class: 'js-close-2fa-enabled-success-alert') do |c| + close_button_options: { class: 'js-close-2fa-enabled-success-alert' }) do |c| = c.body do = s_('Import|There is not a valid Git repository at this URL. If your HTTP repository is not publicly accessible, verify your credentials.') = render_if_exists 'shared/ee/import_form', f: f, ci_cd_only: ci_cd_only |