diff --git a/app/views/ci/lints/_create.html.haml b/app/views/ci/lints/_create.html.haml
index 809fc52dbdf..77f78caa8d8 100644
--- a/app/views/ci/lints/_create.html.haml
+++ b/app/views/ci/lints/_create.html.haml
@@ -32,7 +32,7 @@
%b When:
= build[:when]
- if build[:allow_failure]
- %b Allowed to fail
+ %b Allowed to fail
-else
%p