summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-24 01:59:01 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit641491777032482632e63e0d968a0bad32856794 (patch)
treec0cf78b69b6208c58de80eb11f243bc315b7bd1a /app/views
parent6f19fc1147a60f279db35428993ac532841195ad (diff)
downloadgitlab-ce-641491777032482632e63e0d968a0bad32856794.tar.gz
Remove conversion string to interger for access_level
Diffstat (limited to 'app/views')
-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 d66383bd8f1..8c98075eeb5 100644
--- a/app/views/projects/runners/_form.html.haml
+++ b/app/views/projects/runners/_form.html.haml
@@ -10,7 +10,7 @@
= label :protected, "Protected", class: 'control-label'
.col-sm-10
.checkbox
- = f.check_box :access_level, {}, Ci::Runner.access_levels['protected_'], Ci::Runner.access_levels['unprotected']
+ = f.check_box :access_level, {}, 'protected_', 'unprotected'
%span.light This runner will only run on pipelines trigged on protected branches
.form-group
= label :run_untagged, 'Run untagged jobs', class: 'control-label'