Sha256: 36695564a2392fe5374e18e04dba9eb6d47a9b27f73c6e89a87a53fb439d078b

Contents?: true

Size: 426 Bytes

Versions: 10

Compression:

Stored size: 426 Bytes

Contents

<div class="<%= follow_link_class contact %>">
  <% if contact.sent? %>
    <%= t 'contact.following' %>
    <%= form_tag follower_path(contact), :method => :delete, :remote => true do |f| %>
      <%= submit_tag t('contact.unfollow') %>
    <% end %>
  <% else %>
    <%= form_tag follower_path(contact), :method => :put, :remote => true do |f| %>
      <%= submit_tag t('contact.follow') %>
    <% end %>
  <% end %>
</div>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
social_stream-0.25.2 base/app/views/contacts/_link_follow.html.erb
social_stream-base-0.19.2 app/views/contacts/_link_follow.html.erb
social_stream-0.25.1 base/app/views/contacts/_link_follow.html.erb
social_stream-base-0.19.1 app/views/contacts/_link_follow.html.erb
social_stream-0.25.0 base/app/views/contacts/_link_follow.html.erb
social_stream-base-0.19.0 app/views/contacts/_link_follow.html.erb
social_stream-0.24.1 base/app/views/contacts/_link_follow.html.erb
social_stream-base-0.18.1 app/views/contacts/_link_follow.html.erb
social_stream-0.24.0 base/app/views/contacts/_link_follow.html.erb
social_stream-base-0.18.0 app/views/contacts/_link_follow.html.erb