diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-07 21:35:08 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-19 23:01:53 +0300 |
commit | 8ab4a67ca6a9166168b744bc940da98bf9651efd (patch) | |
tree | 7036417fec69f1336c5383b074f8b8f2b7c65e62 /app | |
parent | 3b0eeccc0324e2d6c024fd94067933314e45b862 (diff) |
Use form errors helper in CI runner edit form
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/runners/edit.html.haml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/runners/edit.html.haml b/app/views/projects/runners/edit.html.haml index a5cfa9a8da9..e4aa98080e5 100644 --- a/app/views/projects/runners/edit.html.haml +++ b/app/views/projects/runners/edit.html.haml @@ -2,10 +2,7 @@ %h4 Runner ##{@runner.id} -- if @runner.errors.any? - .error-message.js-errors - - @runner.errors.full_messages.each do |error| - %div= error += form_errors(@runner) %hr = render 'form', runner: @runner, runner_form_url: runner_path(@runner) |