70d2fde492
Prior, we were double-checking `@keys.any?`, and unnecessarily assigning `is_admin` in a view where it wasn't needed.
21 lines
602 B
Text
21 lines
602 B
Text
- page_title "SSH Keys"
|
|
- header_title page_title, profile_keys_path
|
|
|
|
.row.prepend-top-default
|
|
.col-lg-3.profile-settings-sidebar
|
|
%h4.prepend-top-0
|
|
= page_title
|
|
%p
|
|
SSH keys allow you to establish a secure connection between your computer and GitLab.
|
|
.col-lg-9
|
|
%h5.prepend-top-0
|
|
Add an SSH key
|
|
%p.profile-settings-content
|
|
Before you can add an SSH key you need to
|
|
= link_to "generate it.", help_page_path("ssh", "README")
|
|
= render 'form'
|
|
%hr
|
|
%h5
|
|
Your SSH keys (#{@keys.count})
|
|
%div.append-bottom-default
|
|
= render 'key_table'
|