summaryrefslogtreecommitdiff
path: root/app/views/projects/_errors.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-14 12:46:41 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-14 12:46:41 +0300
commitf59b7409cb653a6e31b5fdc1f45fab211bc3d646 (patch)
tree9fd026cc5981d4ef3a2052228a143446b348258a /app/views/projects/_errors.html.haml
parentbbd125915ff90909440675a220a78fd41dfab847 (diff)
downloadgitlab-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.haml4
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"} &times;
+ = @project.errors.full_messages.first