gitlab-org--gitlab-foss/app/views/keys/_form.html.haml
Dmitriy Zaporozhets aa50408ecb 1. Better message if no ssh key
2. SSH Keys Help page
2012-08-22 03:56:53 +03:00

24 lines
599 B
Text

%div
= form_for @key do |f|
-if @key.errors.any?
.alert-message.block-message.error
%ul
- @key.errors.full_messages.each do |msg|
%li= msg
.clearfix
= f.label :title
.input= f.text_field :title
.clearfix
= f.label :key
.input
= f.text_area :key, class: [:xxlarge, :thin_area]
%p.hint
Paste your public key here. Read more about how generate it
= link_to "here", help_ssh_path
.actions
= f.submit 'Save', class: "primary btn"
= link_to "Cancel", keys_path, class: "btn"