= form_tag ssh_keys_path, :id => 'ssh_keys_form' do = hidden_field_tag "_method", "post" %table.tablesorter{:cellpadding => "0", :cellspacing => "0"} %thead %tr %th= title t('ssh_keys') %th{:colspan => "2"}= t 'layout.delete' %tbody - @ssh_keys.each do |key| %tr %td="#{key.name} (#{key.fingerprint})" %td= link_to image_tag('x.png'), ssh_key_path(key), :method => :delete, :confirm => t('layout.confirm') .both %h3.fix.bpadding10= t 'add_key' = form_for SshKey.new, :url => ssh_keys_path, :html => {:class => :form} do |f| .leftlist= f.label :name, t('activerecord.attributes.ssh_key.name') .rightlist= f.text_field :name .both .leftlist= f.label :key, t('activerecord.attributes.ssh_key.key') .rightlist= f.text_area :key %br = f.submit t('layout.add'), :data => {'disable-with' => t('layout.processing')} - content_for :sidebar, render('sidebar')