observee-status.turbo-stream.html

PHOTO EMBED

Mon Sep 27 2021 01:57:48 GMT+0000 (Coordinated Universal Time)

Saved by @delitescere #lowjs #hotwire #thymeleaf #html

<turbo-stream action="replace" data-th-each="observee : *{observees}" data-th-target="|observee${observee.id}|">
    <template>
        <li data-th-class="|my-1 py-3 d-flex list-group-item list-group-item-*{alert}|"
            data-th-id="|observee*{id}|"
            data-th-object="${observee}">
            <div data-th-replace="~{fragments/observee-status-li :: observee-status-li}"></div>
        </li>
    </template>
</turbo-stream>
content_copyCOPY

https://bitbucket.org/delitescere/status.gallery/src/main/src/main/resources/templates/observee-status.turbo-stream.html