1. Better message if no ssh key

2. SSH Keys Help page
This commit is contained in:
Dmitriy Zaporozhets 2012-08-22 03:56:53 +03:00
parent 5c7ed6fa26
commit aa50408ecb
15 changed files with 104 additions and 74 deletions

View file

@ -11,7 +11,13 @@
.input= f.text_field :title
.clearfix
= f.label :key
.input= f.text_area :key, class: [:xxlarge, :thin_area]
.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"

View file

@ -1,4 +1,4 @@
%h3.page_title New key
%h3.page_title Add an SSH Key
%hr
= render 'form'