Sha256: e5c9292e8ad63592e310288bcecf9f4ab0ace76dd6802e348a522b7a5cb93c4c

Contents?: true

Size: 861 Bytes

Versions: 1

Compression:

Stored size: 861 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 :_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

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-base-0.6.2 app/views/comments/_new.html.erb