Sha256: 97ab0b6502e073a35914587337f9ca577af6b22b017f403ef7cbed00a40113d2
Contents?: true
Size: 507 Bytes
Versions: 64
Compression:
Stored size: 507 Bytes
Contents
<%= form_for toggle_follow_action(activity_object), :html => { :class => "follow_form-#{ dom_id activity_object }" }, :remote => true do |f| %> <% if f.object.new_record? %> <%= f.hidden_field :activity_object_id %> <% end %> <%= f.hidden_field :follow %> <%= f.submit t("#{ activity_object.object_type.underscore }.activity_action.#{ f.object.follow ? 'follow' : 'unfollow' }", :default => "activity_action.#{ f.object.follow ? 'follow' : 'unfollow' }") %> <% end %>
Version data entries
64 entries across 64 versions & 2 rubygems