change variable name; sort hash keys

This commit is contained in:
Jason Lavoie 2016-07-12 08:50:44 -04:00
parent ad54680dca
commit ebcc72d714

View File

@ -47,8 +47,8 @@ filter <%= map %> <%= filter %>
<% if @ldap_maps.length > 0 -%> <% if @ldap_maps.length > 0 -%>
# Custom maps # Custom maps
<% @ldap_maps.each do |map, a| -%> <% @ldap_maps.sort.each do |map, attributes| -%>
<% a.each do |attribute, newattribute| -%> <% attributes.sort.each do |attribute, newattribute| -%>
map <%= map %> <%= attribute %> <%= newattribute %> map <%= map %> <%= attribute %> <%= newattribute %>
<% end -%> <% end -%>
<% end -%> <% end -%>