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

14 lines
583 B
Plaintext
Raw Normal View History

2012-03-30 15:54:30 +01:00
-set_meta_tags :title => [title_object(@comment.project), t('layout.comments.edit_header')]
.block
.secondary-navigation
%ul.wat-cf
%li.first= link_to t("layout.comments.back"), project_commentable_path(@project, @commentable)
.content
%h2.title
2012-03-01 18:56:24 +00:00
= t("layout.comments.edit_header")
.inner
= form_for @comment, :url => project_commentable_comment_path(@project, @commentable, @comment), :html => {:class => :form} do |f|
2012-08-29 15:58:58 +01:00
= 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)