Sha256: 4e31b1fcd8c50abcf14e2123a1b1a399c51ef31ad3865a40a9490c317495cee0

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 Bytes

Contents

<%= link_to("http://www.facebook.com/sharer/sharer.php?u=#{ERB::Util.url_encode(pretty_entry_url(entry))}&t=#{ERB::Util.url_encode(entry.title)}",
            :target => "_blank",
            :tabindex => "2",
            :class => "share facebook",
            :data => {
              :"share-page" => "http://www.facebook.com/sharer/sharer.php?u=#{ERB::Util.url_encode(pretty_entry_url(entry))}%3Fpage%3DpermaId"
            }) do %>

    <span class="hint"><%= t('pageflow.widgets.share_menu.share_with_facebook') %></span>
    <span class="share_facebook button"></span>
    <p>facebook</p>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-0.9.2 app/views/pageflow/entries/share_menu/_facebook_link.html.erb
pageflow-0.9.1 app/views/pageflow/entries/share_menu/_facebook_link.html.erb
pageflow-0.9.0 app/views/pageflow/entries/share_menu/_facebook_link.html.erb