1<% @profiles.each do |profile, options| %> 2[<%= profile %>] 3 <% options.each do |key, value| %> 4<%= key %> = <%= value %> 5 <% end %> 6<% end %>