diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 14:36:17 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 14:36:17 -0500 |
commit | e44ceb96d0875ffbe2959cd17a87f02b2b815547 (patch) | |
tree | e464e0454bb72c2cba1d63a7d2ffa3b5e3eeac4b /app/views/shared/deploy_keys | |
parent | 94a051cf5489061460b6ffa70a232e5e7cbb1eba (diff) | |
download | gitlab-ce-e44ceb96d0875ffbe2959cd17a87f02b2b815547.tar.gz |
[skip ci] .control-label to .col-form-label
Diffstat (limited to 'app/views/shared/deploy_keys')
-rw-r--r-- | app/views/shared/deploy_keys/_form.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/deploy_keys/_form.html.haml b/app/views/shared/deploy_keys/_form.html.haml index 87c2965bb21..e1eb1adb060 100644 --- a/app/views/shared/deploy_keys/_form.html.haml +++ b/app/views/shared/deploy_keys/_form.html.haml @@ -5,26 +5,26 @@ = form_errors(deploy_key) .form-group - = form.label :title, class: 'control-label' + = form.label :title, class: 'col-form-label' .col-sm-10= form.text_field :title, class: 'form-control' .form-group - if deploy_key.new_record? - = form.label :key, class: 'control-label' + = form.label :key, class: 'col-form-label' .col-sm-10 %p.light Paste a machine public key here. Read more about how to generate it = link_to 'here', help_page_path('ssh/README') = form.text_area :key, class: 'form-control thin_area', rows: 5 - else - = form.label :fingerprint, class: 'control-label' + = form.label :fingerprint, class: 'col-form-label' .col-sm-10 = form.text_field :fingerprint, class: 'form-control', readonly: 'readonly' - if deploy_keys_project.present? = form.fields_for :deploy_keys_projects, deploy_keys_project do |deploy_keys_project_form| .form-group - .control-label + .col-form-label .col-sm-10 = deploy_keys_project_form.label :can_push do = deploy_keys_project_form.check_box :can_push |