To be used when create comment action fails.
--- /dev/null
+<% content_for :heading do %>
+ <h1><%= t ".heading" %></h1>
+<% end %>
+
+<%= render :partial => "diary_entries/diary_entry_heading", :object => @entry, :as => "diary_entry" %>
+
+<h3><%= t "diary_entries.show.leave_a_comment" %></h3>
+
+<%= bootstrap_form_for @diary_comment, :url => comment_diary_entry_path(@entry.user, @entry) do |f| %>
+ <%= f.richtext_field :body, :cols => 80, :rows => 20, :hide_label => true %>
+ <%= f.primary %>
+<% end %>
comment: Comment
newer_comments: "Newer Comments"
older_comments: "Older Comments"
+ new:
+ heading: Add a comment to the following diary entry discussion?
doorkeeper:
errors:
messages: