2013-07-17 20:42:57 +02:00
|
|
|
location <%= @location %> {
|
2013-07-18 23:36:56 +02:00
|
|
|
<% if @location_custom_cfg -%><% @location_custom_cfg.sort_by {|k,v| k}.each do |key,value| -%>
|
2014-03-05 13:22:50 +01:00
|
|
|
<% if value.is_a?(Hash) -%><% value.each do |subkey,subvalue| -%>
|
2014-03-07 15:20:58 +01:00
|
|
|
<% Array(subvalue).each do |asubvalue| -%>
|
2014-03-11 16:09:59 +01:00
|
|
|
<%= key %> <%= subkey %> <%= asubvalue %>;
|
2014-03-10 10:26:35 +01:00
|
|
|
<% end -%>
|
2014-03-07 15:20:58 +01:00
|
|
|
<% end -%><% else -%>
|
2014-03-11 16:09:59 +01:00
|
|
|
<% Array(value).each do |asubvalue| -%>
|
|
|
|
<%= key %> <%= asubvalue %>;
|
2014-03-10 10:26:35 +01:00
|
|
|
<% end -%>
|
2014-03-05 13:22:50 +01:00
|
|
|
<% end -%>
|
2013-07-18 23:36:56 +02:00
|
|
|
<% end -%><% end -%>
|
2013-07-03 08:47:49 +02:00
|
|
|
}
|