Files
hemx/examples/kanban/templates/partials/board_card.heml
T
slhx agent 54dd401e8b refactor(kanban): scope card handles to partials
Move kanban card actions onto the reusable card partial, use generated render helpers for board/page composition, and remove manual handle fields plus hidden shell-level action anchors from the composed path.

req: component/003

req: view/001

req: examples/001
2026-06-01 22:25:23 +02:00

11 lines
683 B
Plaintext

<article class="card" +data-key="self.id">
<strong>{+ self.title +}</strong>
<menu>
<button h-if="self.left_disabled" type="button" data-slhx-handle="move_left" +data-card-id="self.id" disabled="disabled">←</button>
<button h-else type="button" data-slhx-handle="move_left" +data-card-id="self.id">←</button>
<button h-if="self.right_disabled" type="button" data-slhx-handle="move_right" +data-card-id="self.id" disabled="disabled">→</button>
<button h-else type="button" data-slhx-handle="move_right" +data-card-id="self.id">→</button>
<button type="button" data-slhx-handle="delete_card" +data-card-id="self.id">Delete</button>
</menu>
</article>