Connection Manager

<% jquery_path = File.expand_path(File.join(Redcar.root, %w(plugins html_view assets jquery-1.4.min.js))) %> <% redcar_css = File.expand_path(File.join(Redcar.root, %w(plugins html_view assets redcar.css))) %>
Connections
<% if connections and connections.any? %> <% connections.each do |c| %> <% end %>
Name Protocol Host Port User Remote Path
<%= c.name %> <%= c.protocol %> <%= c.host %> <%= c.port %> <%= c.user %> <%= c.path %> Delete Modify
<% else %>

No connections

<% end %>

Private Keys
<% if (private_key_files + auto_detected_private_key_files).any? %> <% auto_detected_private_key_files.each do |private_key| %> <% end %> <% private_key_files.each do |private_key| %> <% end %>
<%= private_key %>
<%= private_key %> Delete
<% else %> No private keys. <% end %>