<%= t('comments.edit_heading') %>

<% unless errors.empty? %>

<%= t('posts.errors_heading') %>

<% end %> <% form_for(comment, url: url_for(:comment, post_id: post.to_param, id: comment.id)) do |f| %> <%== f.hidden_field(:lock_version) %>

<%== f.label(:body, t('comments.body_label')) %> <%== f.text_area(:body) %> <%== f.error_messages(:body) %>

<%== f.submit(t('comments.update_submit')) %> <% end %>

<%== link_to(t('posts.back_to_list'), url_for(:post, slug: post.to_param)) %>