gitlab-org--gitlab-foss/app/views/projects/fork.html.haml
Dmitriy Zaporozhets d7a48443ce
alert-error to alert-danger
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 16:34:14 +02:00

19 lines
450 B
Text

.alert.alert-danger.alert-block
%h4
%i.icon-code-fork
Fork Error!
%p
You tried to fork
= link_to_project @project
but it failed for the following reason:
- if @forked_project && @forked_project.errors.any?
%p
&ndash;
= @forked_project.errors.full_messages.first
%p
= link_to fork_project_path(@project), title: "Fork", class: "btn", method: "POST" do
%i.icon-code-fork
Try to Fork again