2014-01-21 04:51:49 +00:00
|
|
|
-set_meta_tags title: [title_object(@comment.project), t('layout.comments.edit_header')]
|
2011-12-19 15:30:14 +00:00
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
2012-04-04 22:43:06 +01:00
|
|
|
%li.first= link_to t("layout.comments.back"), project_commentable_path(@project, @commentable)
|
2011-12-19 15:30:14 +00:00
|
|
|
.content
|
|
|
|
%h2.title
|
2012-03-01 18:56:24 +00:00
|
|
|
= t("layout.comments.edit_header")
|
2011-12-19 15:30:14 +00:00
|
|
|
.inner
|
2014-01-21 04:51:49 +00:00
|
|
|
= form_for @comment, url: project_commentable_comment_path(@project, @commentable, @comment), html: {class: :form} do |f|
|
|
|
|
= render "form", f: f, id: "edit_#{@comment.id}"
|
2012-09-18 11:00:21 +01:00
|
|
|
=hidden_field_tag :preview_url, project_md_preview_path(@project)
|
|
|
|
|