From f866c7be8fdeba0c0218eefcd56e7b5751b431db Mon Sep 17 00:00:00 2001 From: Ana Date: Fri, 11 Mar 2016 00:25:29 +0100 Subject: [PATCH] Share with WhatsApp in proposals --- app/views/proposals/show.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/proposals/show.html.erb b/app/views/proposals/show.html.erb index 2b060d501..96b38fae9 100644 --- a/app/views/proposals/show.html.erb +++ b/app/views/proposals/show.html.erb @@ -86,7 +86,13 @@

<%= t("proposals.show.share") %>

+
<%= social_share_button_tag(@proposal.title) %> + <% if browser.mobile? %> + + <%= icon('whatsapp', class: 'fa-2x whatsapp') %> + + <% end %>