2 <table class="table table-sm table-borderless mb-0 align-middle">
3 <% @key.each do |layer_name, layer_data| %>
4 <% layer_data.each do |entry| %>
5 <%= tag.tr :class => "mapkey-table-entry", :data => { :layer => layer_name, :zoom_min => entry["min_zoom"], :zoom_max => entry["max_zoom"] } do %>
7 <% if entry["width"] && entry["height"] && entry["fill"] %>
8 <%= solid_svg_image_tag entry["width"], entry["height"], entry["fill"], :class => "d-block mx-auto" %>
10 <%= image_tag "key/#{layer_name}/#{entry['image']}", :class => "d-block mx-auto" %>
14 <%= Array(t(".table.entry.#{entry['name']}")).to_sentence %>