Sha256: e257ad1dd9df8acbbb7ed441f8cc6aa294f4c745f55b9346c117cb1fccc2a54f
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
<% #thanks to enable_css, user can avoid this css to be loaded if enable_css == true && options[:scripts].nil? %> <% if Rails::VERSION::MAJOR >= 3 && Rails::VERSION::MINOR < 1 %> <% content_for :head do %> <%= stylesheet_link_tag 'gmaps4rails' %> <% end %> <% end %> <% end %> <% content_for :scripts do %> <%= gmaps4rails_js_files(options[:map_options], options[:scripts], enable_js, options[:markers].try(:[], :options)) %> <script type="text/javascript" charset="utf-8"> <%=raw options.to_gmaps4rails %> </script> <% end %> <%= gmaps4rails_html(options[:map_options]) %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-1.4.7 | app/views/gmaps4rails/_gmaps4rails.html.erb |
gmaps4rails-1.4.6 | app/views/gmaps4rails/_gmaps4rails.html.erb |