From f42cec4c417828cbe3ede6b42e85b59a253b9db8 Mon Sep 17 00:00:00 2001 From: Bertocq Date: Tue, 30 May 2017 12:25:10 +0200 Subject: [PATCH] Create shared partial for Social Share block --- app/views/shared/_social_share.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/views/shared/_social_share.html.erb diff --git a/app/views/shared/_social_share.html.erb b/app/views/shared/_social_share.html.erb new file mode 100644 index 000000000..c911d8e76 --- /dev/null +++ b/app/views/shared/_social_share.html.erb @@ -0,0 +1,10 @@ + +

<%= share_title %>

+
+ <%= social_share_button_tag("#{title} #{setting['twitter_hashtag']}") %> + + + <%= t("social.whatsapp") %> + +