add share on Twitter button

This commit is contained in:
Andreas N 2014-12-21 23:01:21 +01:00
parent dc0b105b46
commit 23af34494e
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
%h3.panel-title Out of questions?
.panel-body
%button.btn.btn-block.btn-info{type: :button, id: 'ib-generate-question'} Get new question
%br
%a.btn.btn-block.btn-primary{href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything?url=#{show_user_profile_path(@user.screen_name)}"} Share on Twitter
.panel.panel-default.warning--panel
.panel-heading
%h3.panel-title Actions