This commit is contained in:
Luna D 2019-12-10 15:44:10 -05:00
parent 90e7c6a53d
commit 3fe828ae9a
No known key found for this signature in database
GPG key ID: D0F46C94720BAA4B

View file

@ -34,7 +34,7 @@ article.block.communication id="comment_#{@comment.id}"
= link(to: Routes.image_comment_delete_path(@conn, :delete, @comment.image_id, @comment), method: :delete, data: [confirm: "Are you sure?"], class: "communication__interaction") do
i.fas.fa-times>
' Delete Contents
- !@comment.hidden_from_users and not @comment.destroyed_content ->
- not @comment.hidden_from_users and not @comment.destroyed_content ->
a.communication__interaction.togglable-delete-form-link href="#" data-click-toggle="#inline-del-form-comment-#{@comment.id}"
i.fas.fa-times>
' Delete