Sha256: 4d41c9392f586449b1b494d55a98f32958aadb1945fcf04a0fbe9f978f911a97

Contents?: true

Size: 1.4 KB

Versions: 72

Compression:

Stored size: 1.4 KB

Contents

<% if user_signed_in? && current_subject.can_comment?(activity) %>
  <div class="activity_new_comment">
    <div class="actor_logo_new_comment">
      <%= image_tag(current_subject.logo.url(:actor),
                            :alt => current_subject.name)%>
    </div>
    <div class= "activity_content">
      <div class="actor_name_new_comment">
        <%= current_subject.name %>
      </div>
      <%= form_for Comment.new(:text => t('comment.input'),
                               :owner_id => Actor.normalize_id(activity.receiver),
                               :_activity_parent_id => activity.id
                  ),
                :html => { :class => "new_comment", :id => "new_comment"+dom_id(activity)  },
                :remote => true do |f| %>

        <%= f.hidden_field :owner_id %>
        <%= f.hidden_field :_activity_parent_id %>
        
        <div class="input_new_comments_container">
          <%= f.text_area :text, :class =>"input_new_comments", :id => "comment_text_"+dom_id(activity), :rows => 1 %>
          <div class="copy_new_comment" id="copy_comment_text_<%= dom_id(activity) %>"></div>
        </div>
        
        <div class="activities_comment_btn">
          <div class="activities_security"></div>
          <%= f.submit t('share'), :class =>"myButtonBlue submitActivity", :id => "comment_submit_"+dom_id(activity) %>
        </div>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
social_stream-1.1.12 base/app/views/comments/_new.html.erb
social_stream-base-1.1.11 app/views/comments/_new.html.erb
social_stream-1.1.11 base/app/views/comments/_new.html.erb
social_stream-base-1.1.10 app/views/comments/_new.html.erb
social_stream-1.1.10 base/app/views/comments/_new.html.erb
social_stream-base-1.1.9 app/views/comments/_new.html.erb
social_stream-1.1.9 base/app/views/comments/_new.html.erb
social_stream-base-1.1.8 app/views/comments/_new.html.erb
social_stream-1.1.8 base/app/views/comments/_new.html.erb
social_stream-base-1.1.7 app/views/comments/_new.html.erb
social_stream-1.1.7 base/app/views/comments/_new.html.erb
social_stream-base-1.1.6 app/views/comments/_new.html.erb
social_stream-1.1.6 base/app/views/comments/_new.html.erb
social_stream-base-1.1.5 app/views/comments/_new.html.erb
social_stream-1.1.5 base/app/views/comments/_new.html.erb
social_stream-base-1.1.4 app/views/comments/_new.html.erb
social_stream-1.1.4 base/app/views/comments/_new.html.erb
social_stream-1.1.3 base/app/views/comments/_new.html.erb
social_stream-base-1.1.3 app/views/comments/_new.html.erb
social_stream-1.1.2 base/app/views/comments/_new.html.erb