Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-18 18:23:26 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-19 23:01:53 +0300
commit52ba3a2d05ab93caa5ddbc6207359e99301dda91 (patch)
tree93680c02c1a80f3265cf2f4b2202b344e7a35ba1 /app/views/projects/runners
parentbf9cc351c28a349ca4c573978c869d2b90209d52 (diff)
Display validation errors when admin edits a runner
Diffstat (limited to 'app/views/projects/runners')
-rw-r--r--app/views/projects/runners/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/runners/_form.html.haml b/app/views/projects/runners/_form.html.haml
index 6be406fa186..b8fe0a98107 100644
--- a/app/views/projects/runners/_form.html.haml
+++ b/app/views/projects/runners/_form.html.haml
@@ -1,5 +1,5 @@
= form_for runner, url: runner_form_url, html: { class: 'form-horizontal' } do |f|
- = form_errors(@runner)
+ = form_errors(runner)
.form-group
= label :active, "Active", class: 'control-label'
.col-sm-10