<% divide_size_by = 5.0 %> <% max_width = 180 %> <% image_counter = 0 %> <% @data.each do |language, content| %>

<%= language %>


<% content.each do |device_name, screens| %> <% screens.each do |screen_path| %> <% next if screen_path.include?"_framed.png" %> <% end %> <% end %>
<%= device_name %>
<% screen_size = FastImage.size(File.join(SnapshotConfig.shared_instance.screenshots_path, screen_path)) %> <% width = ((screen_size[0] / divide_size_by).round rescue 0) %> <% width = [width, max_width].min %> <% style = (width > 0 ? "width: #{width}px;" : '') %> <% image_counter += 1 %> <%= language %> <%= device_name %>
<% end %>