docbrown/app/views/comments/edit.html.erb
yheuhtozr f762acca86
views/comments i18n (#15059)
* views/comments etc i18n

* comments PR fixes

* PR sync with main

* remove ja.yml

* Update _comment_header.html.erb

* Update index.html.erb

* Update _comment_header.html.erb

* Update en.yml

* Update fr.yml

* Update config/locales/views/comments/en.yml

Co-authored-by: Michael Kohl <citizen428@forem.com>

* Update _comment_date.erb

* Update en.yml

* Update fr.yml

Co-authored-by: Michael Kohl <citizen428@forem.com>
2021-10-27 17:13:43 +01:00

14 lines
598 B
Text

<% title "Editing Comment" %>
<%= javascript_packs_with_chunks_tag "commentsDisplay", defer: true %>
<div class="crayons-layout crayons-layout--limited-l gap-0">
<div
class="comments-container crayons-card min-w-0 text-padding"
id="comments-container"
data-commentable-id="<%= @comment.commentable_id %>"
data-commentable-type="<%= @comment.commentable_type %>">
<h1 class="crayons-title mb-6"><%= t("views.comments.edit") %></h1>
<%= render "form",
commentable: @commentable,
commentable_type: @comment.commentable_type %>
</div>
</div>