diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 13:09:56 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 13:09:56 -0500 |
commit | 763e14c38d4afce3a82b21ea40ce630185de1132 (patch) | |
tree | c2817eb7d738e137be9d013f15d141c09779af54 /app/views/projects/settings/ci_cd/_form.html.haml | |
parent | df8aa61a94b8e70526fb78aed75ada1e390c7ce1 (diff) | |
download | gitlab-ce-763e14c38d4afce3a82b21ea40ce630185de1132.tar.gz |
[skip ci] Replace .radio with .form-check
Diffstat (limited to 'app/views/projects/settings/ci_cd/_form.html.haml')
-rw-r--r-- | app/views/projects/settings/ci_cd/_form.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/settings/ci_cd/_form.html.haml b/app/views/projects/settings/ci_cd/_form.html.haml index d22b65c47b8..1ab2a02c308 100644 --- a/app/views/projects/settings/ci_cd/_form.html.haml +++ b/app/views/projects/settings/ci_cd/_form.html.haml @@ -13,7 +13,7 @@ %p.settings-message.text-center = message.html_safe = f.fields_for :auto_devops_attributes, @auto_devops do |form| - .radio + .form-check = form.label :enabled_true do = form.radio_button :enabled, 'true' %strong Enable Auto DevOps @@ -21,7 +21,7 @@ %span.descr The Auto DevOps pipeline configuration will be used when there is no <code>.gitlab-ci.yml</code> in the project. - .radio + .form-check = form.label :enabled_false do = form.radio_button :enabled, 'false' %strong Disable Auto DevOps @@ -29,7 +29,7 @@ %span.descr An explicit <code>.gitlab-ci.yml</code> needs to be specified before you can begin using Continuous Integration and Delivery. - .radio + .form-check = form.label :enabled_ do = form.radio_button :enabled, '' %strong Instance default (#{Gitlab::CurrentSettings.auto_devops_enabled? ? 'enabled' : 'disabled'}) @@ -57,14 +57,14 @@ %p Choose between <code>clone</code> or <code>fetch</code> to get the recent application code = link_to icon('question-circle'), help_page_path('user/project/pipelines/settings', anchor: 'git-strategy'), target: '_blank' - .radio + .form-check = f.label :build_allow_git_fetch_false do = f.radio_button :build_allow_git_fetch, 'false' %strong git clone %br %span.descr Slower but makes sure the project workspace is pristine as it clones the repository from scratch for every job - .radio + .form-check = f.label :build_allow_git_fetch_true do = f.radio_button :build_allow_git_fetch, 'true' %strong git fetch |