rosa-build/app/views/projects/comments/_comment.html.haml

12 lines
705 B
Plaintext
Raw Normal View History

- CommentPresenter.present(comment, data) do |presenter|
= render 'shared/feed_message', :presenter => presenter
2013-03-26 10:47:42 +00:00
-unless comment.automatic
#open-comment.comment.hidden{:class => "comment-#{comment.id}"}
=render 'projects/comments/button_md_help'
%h3.tmargin0= t("layout.comments.edit_header")
= form_for comment, :url => project_commentable_comment_path(data[:project], data[:commentable], comment), :html => { :class => 'form edit_comment' } do |f|
= render "projects/comments/form", :f => f, :id => "#{data[:add_id]}edit_#{comment.id}"
.comment-left
=link_to t('layout.cancel'), '#', :id => "comment-#{comment.id}", :class => 'cancel_edit_comment button'
.both