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

11 lines
477 B
Plaintext
Raw Normal View History

.block
.secondary-navigation
%ul.wat-cf
2012-01-12 14:27:33 +00:00
%li.first= link_to t(@comment.commentable_type == 'Grit::Commit' ? "layout.git.repositories.commits" : "layout.issues.list"), @commentable_path
.content
%h2.title
2012-01-12 14:27:33 +00:00
= t("layout.#{@comment.commentable_type == 'Grit::Commit' ? 'comments' : 'issues'}.edit_header")
.inner
2012-01-11 18:15:35 +00:00
= form_for @comment, :url => @update_url, :html => { :class => :form } do |f|
= render :partial => "form", :locals => {:f => f}