2014-06-23 23:26:20 +02:00
|
|
|
<% if @location_custom_cfg -%>
|
|
|
|
<%- @location_custom_cfg.sort_by {|k,v| k}.each do |key,value| -%>
|
|
|
|
<%- if value.is_a?(Hash) -%>
|
2014-12-17 09:20:24 +01:00
|
|
|
<%- value.sort_by {|k,v| k}.each do |subkey,subvalue| -%>
|
2014-06-23 23:26:20 +02:00
|
|
|
<%- Array(subvalue).each do |asubvalue| -%>
|
|
|
|
<%= key %> <%= subkey %> <%= asubvalue %>;
|
|
|
|
<%- end -%>
|
|
|
|
<%- end -%>
|
|
|
|
<%- else -%>
|
|
|
|
<%- Array(value).each do |asubvalue| -%>
|
|
|
|
<%= key %> <%= asubvalue %>;
|
|
|
|
<%- end -%>
|
|
|
|
<%- end -%>
|
|
|
|
<%- end -%>
|
|
|
|
<% end -%>
|