From f59b7409cb653a6e31b5fdc1f45fab211bc3d646 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 14 May 2013 12:46:41 +0300 Subject: Improve user expirience while create/edit project settings --- app/views/projects/_errors.html.haml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/views/projects/_errors.html.haml (limited to 'app/views/projects/_errors.html.haml') 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 -- cgit v1.2.1