Sha256: 10d4da190e24be100926b0970f787f28806aabc638a1d61f8fb9b204b4f6c922

Contents?: true

Size: 525 Bytes

Versions: 73

Compression:

Stored size: 525 Bytes

Contents

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

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
social_stream-2.1.1 base/app/views/contacts/_link_follow.html.erb
social_stream-1.1.12 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.11 app/views/contacts/_link_follow.html.erb
social_stream-2.1.0 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.1.0 app/views/contacts/_link_follow.html.erb
social_stream-2.0.4 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.4 app/views/contacts/_link_follow.html.erb
social_stream-2.0.3 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.3 app/views/contacts/_link_follow.html.erb
social_stream-1.1.11 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.10 app/views/contacts/_link_follow.html.erb
social_stream-1.1.10 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.9 app/views/contacts/_link_follow.html.erb
social_stream-1.1.9 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.8 app/views/contacts/_link_follow.html.erb
social_stream-1.1.8 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.7 app/views/contacts/_link_follow.html.erb
social_stream-2.0.2 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.2 app/views/contacts/_link_follow.html.erb
social_stream-2.0.1 base/app/views/contacts/_link_follow.html.erb