Sha256: 7e0b0a5d6547fa80a8e4ef4748922b97db7e8545c25155aa494fb00b4aaa57a0

Contents?: true

Size: 900 Bytes

Versions: 20

Compression:

Stored size: 900 Bytes

Contents

<% if user_signed_in? && current_subject.can_comment?(activity) %>
  <div class="activity_new_comment">
 <%= form_for Comment.new(:text => t('comment.input'),
                          :_contact_id =>
                            current_subject.contact_to!(activity.receiver).id,
                          :_activity_parent_id => activity.id
              ),
          :html => { :class => "new_comment", :id => "new_comment"+dom_id(activity)  },
          :remote => true do |f| %>

   <%= f.hidden_field :_contact_id %>
   <%= f.hidden_field :_activity_parent_id %>

   <%= 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

20 entries across 20 versions & 1 rubygems

Version Path
social_stream-base-0.9.0 app/views/comments/_new.html.erb
social_stream-base-0.8.2 app/views/comments/_new.html.erb
social_stream-base-0.8.1 app/views/comments/_new.html.erb
social_stream-base-0.8.0 app/views/comments/_new.html.erb
social_stream-base-0.7.11 app/views/comments/_new.html.erb
social_stream-base-0.7.10 app/views/comments/_new.html.erb
social_stream-base-0.7.9 app/views/comments/_new.html.erb
social_stream-base-0.7.8 app/views/comments/_new.html.erb
social_stream-base-0.7.7 app/views/comments/_new.html.erb
social_stream-base-0.7.6 app/views/comments/_new.html.erb
social_stream-base-0.7.5 app/views/comments/_new.html.erb
social_stream-base-0.7.4 app/views/comments/_new.html.erb
social_stream-base-0.7.3 app/views/comments/_new.html.erb
social_stream-base-0.7.2 app/views/comments/_new.html.erb
social_stream-base-0.7.1 app/views/comments/_new.html.erb
social_stream-base-0.7.0 app/views/comments/_new.html.erb
social_stream-base-0.6.8 app/views/comments/_new.html.erb
social_stream-base-0.6.6 app/views/comments/_new.html.erb
social_stream-base-0.6.5 app/views/comments/_new.html.erb
social_stream-base-0.6.3 app/views/comments/_new.html.erb