2012-10-08 10:14:31 +01:00
|
|
|
- CommentPresenter.present(comment, :project => project, :commentable => commentable, :add_anchor => add_id.presence) do |presenter|
|
2012-09-27 16:40:19 +01:00
|
|
|
= render 'shared/feed_message', :presenter => presenter
|
|
|
|
#open-comment.comment.hidden{:class => "comment-#{comment.id}"}
|
2012-10-05 10:32:29 +01:00
|
|
|
=render 'projects/comments/button_md_help'
|
2012-09-27 16:40:19 +01:00
|
|
|
%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|
|
2012-10-05 20:19:05 +01:00
|
|
|
= render "projects/comments/form", :f => f, :id => "#{add_id.presence}edit_#{comment.id}"
|
2012-09-27 16:40:19 +01:00
|
|
|
.comment-left
|
|
|
|
=link_to t('layout.cancel'), '#', :id => "comment-#{comment.id}", :class => 'cancel_edit_comment button'
|
|
|
|
.both
|