14 lines
775 B
Plaintext
14 lines
775 B
Plaintext
%a{ :name => "comments" }
|
|
.hr
|
|
%h3= t("layout.comments.comments_header")
|
|
- list.each do |comment|
|
|
- CommentPresenter.present(comment, :project => project, :commentable => commentable) do |presenter|
|
|
= render 'shared/feed_message', :presenter => presenter
|
|
#open-comment.comment.hidden{:class => "comment-#{comment.id}"}
|
|
%h3.tmargin0= t("layout.comments.edit_header")
|
|
= form_for comment, :url => project_commentable_comment_path(project, commentable, comment), :html => { :class => 'form edit_comment' } do |f|
|
|
= render "projects/comments/form", :f => f, :id => "edit_#{comment.id}"
|
|
.comment-left{:style => 'margin-top: 0;'}
|
|
=link_to t('layout.cancel'), '#', :id => "comment-#{comment.id}", :class => 'cancel_edit_comment button'
|
|
.both
|