Sha256: 81b1f73d384a56f376bf2c172be50d763d42ae6b8dc7c392dd9f8cc33dea3003
Contents?: true
Size: 506 Bytes
Versions: 3
Compression:
Stored size: 506 Bytes
Contents
<% object._contact_id = current_subject.contact_to!(receiver).id %> <% remote = true if remote.nil? %> <%= form_for object, :remote => remote do |f| %> <%= f.hidden_field :_contact_id %> <%= render :partial => object.class.to_s.tableize+'/fields' , :locals => {:f => f} %> <% if current_subject != receiver %> <% current_subject.activity_relations(receiver, :from => :receiver).each do |r| %> <%= f.hidden_field "_relation_ids][", :value => r.id %> <% end %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
social_stream-base-0.6.3 | app/views/objects/_new.html.erb |
social_stream-base-0.6.2 | app/views/objects/_new.html.erb |
social_stream-base-0.6.1 | app/views/objects/_new.html.erb |