docbrown/app/views/comments/edit.html.erb
ludwiczakpawel 70706d0a62
Comments UI update (#11283)
* tooltips 1.0.1

* tooltips 1.0.1

* init

* .

* drop not needed files

* .

* init

* init

* .

* comments

* border

* missing bits

* build comment JS

* .

* .

* specs

* sloan avatar fix

* bunch of fixes

* specs and fixes

* specs

* .

* swap order of links

* contrast

* js for dropdown

* icons

* op-author

* three dots icon

* reverts

* test: capybara- make sure that we click the dropdown before clicking on edit

* permalink --> link

* tiny fixes

* aria-label on form

* proper alt on user's avatar

* aria has popup

* use UL > LI instead of DIV

* add aria-labels to dropdown items

* another aria-label

* better links: nav

* contrast

Co-authored-by: Ridhwana <ridhwana.khan16@gmail.com>
2020-11-18 18:21:19 -05:00

12 lines
473 B
Text

<div class="crayons-layout crayons-layout--limited-l gap-0">
<div
class="comments-container crayons-card text-padding"
id="comments-container"
data-commentable-id="<%= @comment.commentable_id %>"
data-commentable-type="<%= @comment.commentable_type %>">
<h1 class="crayons-title mb-6">Editing comment</h1>
<%= render "form",
commentable: @commentable,
commentable_type: @comment.commentable_type %>
</div>
</div>