diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-30 21:28:48 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-30 21:28:48 +0400 |
commit | 1fdeb9e03042b1b645ed0fe6c33fb4f21dd6ddb1 (patch) | |
tree | 5fa4b6d2892c50057b36991fa3e8ba44c02b6628 /app/views/projects/_form.html.haml | |
parent | 7d593c54463307b0e1bb4a2653e161f4f238a3d9 (diff) | |
parent | bfd00caff3010100f367ed60d73f065cc8b21f06 (diff) |
Merge branch 'refactor/css' of dev.gitlabhq.com:gitlab/gitlabhq
Diffstat (limited to 'app/views/projects/_form.html.haml')
-rw-r--r-- | app/views/projects/_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml index a3e97fe9b70..8d3b1aded5c 100644 --- a/app/views/projects/_form.html.haml +++ b/app/views/projects/_form.html.haml @@ -1,6 +1,6 @@ = form_for(@project, remote: true) do |f| - if @project.errors.any? - .alert-message.block-message.error + .alert.alert-error %ul - @project.errors.full_messages.each do |msg| %li= msg @@ -81,5 +81,5 @@ = link_to 'Cancel', @project, class: "btn" - unless @project.new_record? - if can?(current_user, :remove_project, @project) - .right + .pull-right = link_to 'Remove Project', @project, confirm: 'Removed project can not be restored! Are you sure?', method: :delete, class: "btn btn-remove" |