7 lines
447 B
Plaintext
7 lines
447 B
Plaintext
<button class="cards__expander btn btn--plain" data-collapsible-columns-target="button" data-action="click->collapsible-columns#toggle"
|
|
style="--card-count: <%= [ count, 20 ].min %>" aria-controls="<%= column_id %>" aria-expanded="false">
|
|
<span class="cards__expander-count" data-drag-and-drop-counter="true"><%= count > 99 ? "99+" : count %></span>
|
|
<h2 class="cards__expander-title"><%= title %></h2>
|
|
</button>
|
|
<%= yield if block_given? %>
|