Commit 12cc233d authored by samdbeckham's avatar samdbeckham Committed by Alexander Turinske

Migrates the alert on the new branch page

Moves the alert to use gitlab UI classes
parent 5ba912a3
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
- default_ref = params[:ref] || @project.default_branch - default_ref = params[:ref] || @project.default_branch
- if @error - if @error
.alert.alert-danger .gl-alert.gl-alert-danger
%button.close{ type: "button", "data-dismiss" => "alert" } × = 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')
= @error = @error
%h3.page-title %h3.page-title
New Branch New Branch
......
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