summaryrefslogtreecommitdiff
path: root/app/views/projects/_errors.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_errors.html.haml')
-rw-r--r--app/views/projects/_errors.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/_errors.html.haml b/app/views/projects/_errors.html.haml
index 7c8bb33ed7e..2dba22d3be6 100644
--- a/app/views/projects/_errors.html.haml
+++ b/app/views/projects/_errors.html.haml
@@ -1,4 +1 @@
-- if @project.errors.any?
- .alert.alert-danger
- %button{ type: "button", class: "close", "data-dismiss" => "alert"} ×
- = @project.errors.full_messages.first
+= form_errors(@project)