Sha256: 7d6678145cd8b7c1bacd270e29e6a78a31a645e18c51bfe0bd38d354576ce8f5

Contents?: true

Size: 1013 Bytes

Versions: 5

Compression:

Stored size: 1013 Bytes

Contents

<% if activity.receiver.activity_ties_for?(current_subject) %>
  <div class="activity_new_comment">
 <%= form_for Comment.new(:text => t('comment.input'),
                          :_activity_tie_id =>
                            activity.receiver.activity_ties_for(current_subject).first.id,
                          :_activity_parent_id => activity.id
              ),
          :html => { :class => "new_comment", :id => "new_comment"+dom_id(activity)  },
          :remote => true do |f| %>
   <%= f.hidden_field :_activity_tie_id,  :id => "activity_receiver_tie_from_id_"+dom_id(activity) %>
   <%= f.hidden_field :_activity_parent_id, :id => "activity_id_"+dom_id(activity) %>
   <%= f.text_field :text,   :class =>"input_new_comments" , :id => "comment_text_"+dom_id(activity) %>
   <div class="activities_comment_btn">
     <div class="activities_security"></div>
     <%= f.submit t('share'), :class =>"myButtonBlue", :id => "comment_submit"+dom_id(activity) %>
   </div>
 <% end %>
    </div>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
social_stream-base-0.5.2 app/views/comments/_new.html.erb
social_stream-base-0.5.1 app/views/comments/_new.html.erb
social_stream-base-0.5.0 app/views/comments/_new.html.erb
social_stream-0.4.6 app/views/comments/_new.html.erb
social_stream-0.4.5 app/views/comments/_new.html.erb