Sha256: 6b5fe0043ed9d96c55ed047117b5829b777ab4ff140e78bd0000cbf601b9d39e

Contents?: true

Size: 783 Bytes

Versions: 4

Compression:

Stored size: 783 Bytes

Contents

<% if activity.receiver.sent_ties_allowing(current_subject, 'create', 'activity').any? %>
  <div class="activity_new_comment">
 <%= form_for Comment.new(:text => t('comment.input'),
                          :_activity_tie_id =>
                            activity.receiver.sent_ties_allowing(current_subject, 'create', 'activity').first.id,
                          :_activity_parent_id => activity.id),
              :remote => true do |f| %>
   <%= f.hidden_field :_activity_tie_id %>
   <%= f.hidden_field :_activity_parent_id %>
   <%= f.text_field :text,   :class =>"input_new_comments" %>
   <div class="activities_comment_btn">
     <div class="activities_security"></div>
     <%= f.submit t('share'), :class =>"myButtonBlue" %>
   </div>
 <% end %>
    </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_stream-0.4.3 app/views/comments/_new.html.erb
social_stream-0.4.2 app/views/comments/_new.html.erb
social_stream-0.4.1 app/views/comments/_new.html.erb
social_stream-0.4.0 app/views/comments/_new.html.erb