Skip to content
Snippets Groups Projects
Unverified Commit 8ea332ff authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

Leaflet in external JS entrypoint

parent e946e059
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@
//= require simple_form_bs5_file_input
//= require summernote/summernote-bs5
//= require gdpr/cookie_consent
//= require leaflet
//= require autocomplete-rails
//= require_tree ./application/plugins
//= require_tree ./extranet
......
//= require leaflet
......@@ -64,6 +64,8 @@
</dd>
<% end %>
<% if @organization.geolocated? %>
<%# Include map.js before call Leaflet (map helper) %>
<%= javascript_include_tag 'map' %>
<dt><%= University::Organization.human_attribute_name(:map) %></dt>
<dl><%= map(
center: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment