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-base-2.0.1 app/views/contacts/_link_follow.html.erb
social_stream-2.0.0 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.0 app/views/contacts/_link_follow.html.erb
social_stream-2.0.0.beta3 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.0.beta3 app/views/contacts/_link_follow.html.erb
social_stream-2.0.0.beta2 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.0.beta2 app/views/contacts/_link_follow.html.erb
social_stream-2.0.0.beta1 base/app/views/contacts/_link_follow.html.erb
social_stream-base-2.0.0.beta1 app/views/contacts/_link_follow.html.erb
social_stream-1.1.7 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.6 app/views/contacts/_link_follow.html.erb
social_stream-1.1.6 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.5 app/views/contacts/_link_follow.html.erb
social_stream-1.1.5 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.4 app/views/contacts/_link_follow.html.erb
social_stream-1.1.4 base/app/views/contacts/_link_follow.html.erb
social_stream-1.1.3 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.3 app/views/contacts/_link_follow.html.erb
social_stream-1.1.2 base/app/views/contacts/_link_follow.html.erb
social_stream-base-1.1.2 app/views/contacts/_link_follow.html.erb