Usability improved. Nothing to show messages for issues, MR

This commit is contained in:
Dmitriy Zaporozhets 2012-03-10 23:41:05 +02:00
parent bd7359b50e
commit a10ad7183e
5 changed files with 30 additions and 5 deletions

View file

@ -2,7 +2,7 @@
SSH Keys
= link_to "Add new", new_key_path, :class => "btn small right"
%hr
%br
%table#keys-table.zebra-striped.borders
- @keys.each do |key|

View file

@ -1,5 +1,14 @@
%h3= @key.title
%h3
Public key:
= @key.title
%small
created at
= @key.created_at.stamp("Aug 21, 2011")
.back_link
= link_to keys_path do
← To keys list
%hr
%pre= @key.key
.actions
= link_to 'Remove', @key, :confirm => 'Are you sure?', :method => :delete, :class => "btn danger delete-key"