gitlabhq/app/views/keys/index.html.haml

17 lines
425 B
Plaintext
Raw Normal View History

%h2.icon
%span>
SSH Keys
%div#new-key-holder.right
2011-11-22 14:14:23 +01:00
= link_to "Add new", new_key_path, :remote => true, :class => "grey-button"
%br
2011-10-08 23:36:38 +02:00
%div#keys-table{ :class => "update-data ui-box ui-box-small ui-box-big" }
.data
- @keys.each do |key|
= render(:partial => 'show', :locals => {:key => key})
2011-10-08 23:36:38 +02:00
:javascript
$('.delete-key').live('ajax:success', function() {
$(this).closest('.update-item').fadeOut(); });
2011-10-08 23:36:38 +02:00