Commit 8b8e92fd authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by David O'Regan

Update markup in projects/branches/new.html.haml

parent b6a93e48
......@@ -2,10 +2,10 @@
- default_ref = params[:ref] || @project.default_branch
- if @error
.gl-alert.gl-alert-danger
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('close', size: 16, css_class: 'gl-icon')
= render 'shared/global_alert',
variant: :danger,
close_button_class: 'js-close',
is_contained: true do
.gl-alert-body
= @error
%h3.page-title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment