Squashed commits: [e10acde] Open reactions after commenting [aceea75] Fix hound remarks and reactions tests The ".comment_action" should be active when the user clicks on "a.show comments" [d1deae5] Fix hound remarks [f5db5dd] Keep current instead of scrolling to first comment [be63092] Remove unused evt parameter
16 lines
885 B
Text
16 lines
885 B
Text
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3 or later. See
|
|
-# the COPYRIGHT file.
|
|
|
|
.add_comment_bottom_link_container
|
|
- if user_signed_in?
|
|
= form_tag( post_comments_path(post_id), id: "new_comment_on_#{post_id}", class: 'new_comment', autocomplete: "off") do
|
|
%fieldset
|
|
.control-group
|
|
= hidden_field_tag :post_id, post_id, id: "post_id_on_#{post_id}"
|
|
= text_area_tag :text, nil, class: "col-md-12 comment_box form-control form-group", id: "comment_text_on_#{post_id}", placeholder: t('.comment')
|
|
= submit_tag t('.comment'), id: "comment_submit_#{post_id}", 'data-disable-with' => t('.commenting'), class: "btn btn-primary pull-right"
|
|
.clearfix
|
|
|
|
= link_to "#", class: "back_to_stream_element_top" do
|
|
= image_tag "mobile/arrow_up_small.png"
|