aboutsummaryrefslogtreecommitdiff
path: root/app/views/welcome/index.html.erb
blob: a7bf9b834d5c778e70acc075bc27f68893381bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<h1>Bienvenue à l'atelier carto d'IN COMMON</h1>

<%= map_container %>

<% content_for :aside do %>
    <div data-controller="taxonomy" data-taxonomy-uuid="<%= @taxonomy.to_param %>">
        <div class="leaflet-bar leaftlet-control" id="taxonomy-toggle">
            <button data-action="taxonomy#toggle" data-target="taxonomy.toggle"></button>
        </div>
        <div data-target="taxonomy.filter"></div>
        <div data-target="taxonomy.layers"></div>
    </div>
<% end %>

<% content_for :debug do %>
    <% if current_user.present? %>
    <% end %><%# ensure it does not break when we don't have a record... %>
<% end %>

<% content_for :footer do %>
    <%= version_string %>
<% end %>