summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-10 13:19:25 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-19 22:01:53 +0200
commitbf9cc351c28a349ca4c573978c869d2b90209d52 (patch)
treea7b8fa4f4e735c964b4d7ba0ba190bb9bae021d5 /app
parent0fd100d28d3748de90aabc3dbbb789e37399f224 (diff)
downloadgitlab-ce-bf9cc351c28a349ca4c573978c869d2b90209d52.tar.gz
Add minor corrections related to config of runner
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/runners/_form.html.haml3
-rw-r--r--app/views/projects/runners/edit.html.haml2
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/runners/_form.html.haml b/app/views/projects/runners/_form.html.haml
index 147f1a2ebc8..6be406fa186 100644
--- a/app/views/projects/runners/_form.html.haml
+++ b/app/views/projects/runners/_form.html.haml
@@ -1,4 +1,5 @@
= form_for runner, url: runner_form_url, html: { class: 'form-horizontal' } do |f|
+ = form_errors(@runner)
.form-group
= label :active, "Active", class: 'control-label'
.col-sm-10
@@ -10,7 +11,7 @@
.col-sm-10
.checkbox
= f.check_box :run_untagged
- %span.light This runner can pick jobs without tags
+ %span.light Indicates whether runner can pick jobs without tags
.form-group
= label_tag :token, class: 'control-label' do
Token
diff --git a/app/views/projects/runners/edit.html.haml b/app/views/projects/runners/edit.html.haml
index e4aa98080e5..95706888655 100644
--- a/app/views/projects/runners/edit.html.haml
+++ b/app/views/projects/runners/edit.html.haml
@@ -2,7 +2,5 @@
%h4 Runner ##{@runner.id}
-= form_errors(@runner)
-
%hr
= render 'form', runner: @runner, runner_form_url: runner_path(@runner)