diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-14 12:46:41 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-14 12:46:41 +0300 |
commit | f59b7409cb653a6e31b5fdc1f45fab211bc3d646 (patch) | |
tree | 9fd026cc5981d4ef3a2052228a143446b348258a /app/views/projects/_errors.html.haml | |
parent | bbd125915ff90909440675a220a78fd41dfab847 (diff) | |
download | gitlab-ce-f59b7409cb653a6e31b5fdc1f45fab211bc3d646.tar.gz |
Improve user expirience while create/edit project settings
Diffstat (limited to 'app/views/projects/_errors.html.haml')
-rw-r--r-- | app/views/projects/_errors.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/_errors.html.haml b/app/views/projects/_errors.html.haml new file mode 100644 index 00000000000..bb9759353a3 --- /dev/null +++ b/app/views/projects/_errors.html.haml @@ -0,0 +1,4 @@ +- if @project.errors.any? + .alert.alert-error + %button{ type: "button", class: "close", "data-dismiss" => "alert"} × + = @project.errors.full_messages.first |