cartodb-4.42/lib/assets/javascripts/builder/components/modals/add-widgets/layer-selector.tpl
2024-04-06 05:25:13 +00:00

6 lines
167 B
Smarty
Executable File

<% layerNames.forEach(function (name, i) { %>
<option value="<%- i %>" <% if (i === layerIndex) { %>selected="selected"<% } %>>
<%- name %>
</option>
<% }) %>