Files
fizzy/app/views/bubbles/_people.html.erb
T
Mike Dalessio a830ec1999 Extract an "assignees" partial
pulling the avatars down from the "people" partial, and pulling the
add button up from the "assignment" partial.

The result is:

- the "bubbles/sidebar/assignment" partial is just the dialog box
- the "bubbles/assignees" partial contains everything about assignees
- the "bubbles/people" partial makes one render call

and I've introduced some turbo frames in the expectation of the next
commit which will load the dialog in the background.
2025-03-21 17:20:14 -04:00

13 lines
391 B
Plaintext

<div class="card__people flex gap">
<div class="flex flex-column align-center">
<span class="txt-uppercase">Reported</span>
<%= avatar_tag bubble.creator, loading: :lazy, class: "avatar" %>
</div>
<div class="card__assignees flex flex-column align-center">
<span class="txt-uppercase">Assigned</span>
<%= render "bubbles/assignees", bubble: bubble %>
</div>
</div>