Skip to content

Commit

Permalink
UPD: Обновляет посты, добавляет комментарии и лайки (1)
Browse files Browse the repository at this point in the history
  • Loading branch information
owlscatcher committed Jun 4, 2024
1 parent b995c95 commit 885cbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/posts/comments/_comment_form.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.my-4
= simple_form_forcomment, url: post_comments_path(post, comment) do |f|
= simple_form_for comment, url: post_comments_path(post, comment) do |f|
= f.input :parent_id, as: :hidden
= f.input :content, label: false, input_html: { rows: 3 }
= f.button :submit, class: 'btn btn-primary'

0 comments on commit 885cbf1

Please sign in to comment.