]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/show.html.erb
Rename updateMarker() to addCreatedNoteMarker()
[rails.git] / app / views / diary_entries / show.html.erb
index e80a44f096005c1bdac773818bb4bc5472841feb..9e3e7da650ea0c7b8475153367056849a34b4765 100644 (file)
@@ -1,3 +1,7 @@
+<% content_for :head do %>
+  <%= javascript_include_tag "social_share_button" %>
+<% end %>
+
 <% content_for :heading do %>
   <div class="row">
     <div class="col-sm-auto">
@@ -11,6 +15,7 @@
 <% end %>
 
 <%= render @entry %>
+<%= social_share_buttons(:title => @entry.title, :url => diary_entry_url(@entry.user, @entry)) %>
 
 <div id="comments" class="comments mb-3 overflow-hidden">
   <div class="row border-bottom border-secondary-subtle">