diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb
index 273b76a82..323fc9cef 100644
--- a/app/views/comments/_comment.html.erb
+++ b/app/views/comments/_comment.html.erb
@@ -2,11 +2,19 @@
<% if comment.depth < 3 %>
- <%= render("comments/comment_proper", comment: comment, commentable: commentable,
- is_view_root: is_view_root, is_childless: is_childless, subtree_html: subtree_html) %>
+ <%= render("comments/comment_proper",
+ comment: comment,
+ commentable: commentable,
+ is_view_root: is_view_root,
+ is_childless: is_childless,
+ subtree_html: subtree_html) %>
<%= pluralize(@comment.errors.count, "error") %> prohibited this comment from being saved:
-- <% @comment.errors.full_messages.each do |message| %> -- <%= message %>
- <% end %>
-
-+
<%= pluralize(@comment.errors.count, "error") %> prohibited this comment from being saved:
++ <% @comment.errors.full_messages.each do |message| %> +- <%= message %>
+ <% end %>
+
+<% end %> <%= form_for(@comment, authenticity_token: false) do |f| %> @@ -24,26 +24,25 @@ <% end %>
+
Hey there, we see you aren't signed in. (Yes you, the reader. This is a fake comment.)
- Please consider creating an account on dev.to. It literally takes a few seconds and we'd appreciate the support so much. ❤️ + Please consider creating an account on + dev.to. It literally takes a few seconds and + we'd appreciate the support so much. ❤️
Plus, no fake comments when you're signed in. 🙃
<%= truncate(strip_tags(@comment.processed_html.html_safe), length: 80) %>
-Are you sure you want to delete this comment? -
You cannot undo this action, perhaps you just want to EDIT instead?
+Are you sure you want to delete this comment?
+You cannot undo this action, perhaps you just want to + EDIT instead?
-DELETE
++ DELETE +
Editing comment
- <%= render 'form', - commentable: @commentable, - commentable_type: @commentable.class.name - %> + <%= render "form", + commentable: @commentable, + commentable_type: @commentable.class.name %>