Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « keys « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 416ae8f8f95c523a78a3a6164a43550fc9f2511b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%div#new-key-holder
  = link_to "Add new", new_key_path, :remote => true, :class => "lbutton vm"

%table.round-borders#keys-table
  %tr
    %th title
    %th key
    %th Actions
  - @keys.each do |key|
    = render(:partial => 'show', :locals => {:key => key})

:javascript
  $('.delete-key').live('ajax:success', function() {  
    $(this).closest('tr').fadeOut(); });