]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/templates/map/layers.jst.ejs
Layers work
[rails.git] / app / assets / javascripts / templates / map / layers.jst.ejs
index 66fa1f7ed9ce47c7677bea1d33d84c42c658f505..76835c15c2ca8203917566656527507f3a49d4ec 100644 (file)
@@ -1,14 +1,13 @@
 <h2><%= I18n.t('javascripts.map.layers.header') %></h2>
-<div class='overlay-layers'>
+<section class='overlay-layers'>
     <p><%= I18n.t('javascripts.map.layers.overlays') %></p>
-    <label><input type='checkbox' id='notes-layer-checkbox'><%= I18n.t('javascripts.map.layers.notes') %></label>
-    <label><input type='checkbox' id='data-layer-checkbox'><%= I18n.t('javascripts.map.layers.data') %></label>
-</div>
-<div class='base-layers'>
+    <ul>
+        <li><label><input type='checkbox' id='notes-layer-checkbox'><%= I18n.t('javascripts.map.layers.notes') %></label></li>
+        <li><label><input type='checkbox' id='data-layer-checkbox'><%= I18n.t('javascripts.map.layers.data') %></label></li>
+    </ul>
+</section>
+<section class='base-layers'>
     <p><%= I18n.t('javascripts.map.layers.base') %></p>
     <ul>
-        <% for (var i = 0; i < layers.length; i++) { %>
-        <label><input type='radio'><%= layers[i].name %></label>
-        <% } %>
     </ul>
-</div>
+</section>