=f.select:public_email,options_for_select(@user.all_emails,selected: @user.public_email),{include_blank: 'Do not show in profile'},class: "form-control"
=f.select:public_email,options_for_select(@user.all_emails,selected: @user.public_email),{include_blank: 'Do not show on profile'},class: "select2"
%span.help-block This email will be displayed on your public profile.
%span.help-block This email will be displayed on your public profile.
.form-group
.form-group
=f.label:skype,class: "control-label"
=f.label:skype,class: "control-label"
...
@@ -96,8 +96,6 @@
...
@@ -96,8 +96,6 @@
=link_to'Remove avatar',profile_avatar_path,data: {confirm: "Avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
=link_to'Remove avatar',profile_avatar_path,data: {confirm: "Avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
=link_tonamespace_project_wiki_path(@project.namespace,@project,@page),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-remove"do
=link_tonamespace_project_wiki_path(@project.namespace,@project,@page),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-sm btn-remove"do
@@ -15,7 +15,8 @@ Note: It is a best practice to use a password for an SSH key, but it is not
...
@@ -15,7 +15,8 @@ Note: It is a best practice to use a password for an SSH key, but it is not
required and you can skip creating a password by pressing enter. Note that
required and you can skip creating a password by pressing enter. Note that
the password you choose here can't be altered or retrieved.
the password you choose here can't be altered or retrieved.
To generate a new SSH key, use the following commandGitLab```bash
To generate a new SSH key, use the following command:
```bash
ssh-keygen -t rsa -C"$your_email"
ssh-keygen -t rsa -C"$your_email"
```
```
This command will prompt you for a location and filename to store the key
This command will prompt you for a location and filename to store the key
...
@@ -108,4 +109,4 @@ Note in the gitlab.com example above a username was specified to override the de
...
@@ -108,4 +109,4 @@ Note in the gitlab.com example above a username was specified to override the de
Due to the wide variety of SSH clients and their very large number of configuration options, further explanation of these topics is beyond the scope of this document.
Due to the wide variety of SSH clients and their very large number of configuration options, further explanation of these topics is beyond the scope of this document.
Public SSH keys need to be unique, as they will bind to your account. Your SSH key is the only identifier you'll
Public SSH keys need to be unique, as they will bind to your account. Your SSH key is the only identifier you'll
have when pushing code via SSH. That's why it needs to uniquely map to a single user.
have when pushing code via SSH. That's why it needs to uniquely map to a single user.