Sha256: 288c624429288695582e91292931187cfe7bd5609e1597c2f52eebe6abee2b20

Contents?: true

Size: 775 Bytes

Versions: 7

Compression:

Stored size: 775 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>
     <%= image_submit_tag "btn/btn_share.png" %>
   </div>
 <% end %>
    </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
social_stream-0.3.6 app/views/comments/_new.html.erb
social_stream-0.3.5 app/views/comments/_new.html.erb
social_stream-0.3.4 app/views/comments/_new.html.erb
social_stream-0.3.3 app/views/comments/_new.html.erb
social_stream-0.3.2 app/views/comments/_new.html.erb
social_stream-0.3.1 app/views/comments/_new.html.erb
social_stream-0.3.0 app/views/comments/_new.html.erb