2 <table class="table table-sm table-borderless mapkey-table">
3 <% YAML.load_file(Rails.root.join("config/key.yml")).each do |name,data| %>
4 <% data.each do |entry| %>
5 <tr class="mapkey-table-entry" data-layer="<%= name %>" data-zoom-min="<%= entry["min_zoom"] %>" data-zoom-max="<%= entry["max_zoom"] %>">
6 <td class="mapkey-table-key align-middle">
7 <%= image_tag "key/#{name}/#{entry['image']}" %>
9 <td class="mapkey-table-value">
10 <%= [*t(".table.entry.#{entry['name']}")].to_sentence %>