<% ['Virtual Machines', 'Repositories', 'Current Token'].each do |section| %> <% section_id = section.gsub(" ","_").downcase %>
<%= render partial: "manage_#{section_id}" %>
<% end %>
<% ['SSH Keys'].each do |section| %> <% section_id = section.gsub(" ","_").downcase %>
<%= button_to projects_path(method: 'post'), class: 'btn btn-xs btn-primary' do %> Add new SSH key <% end %>

<%= section %>

<%= render partial: "manage_#{section_id}" %>
<% end %>