Files
Alexander Brandon Coles 5f22828fe5 Provide CheckAllComponent separator slot
Supports customization (or removal) of separator.
2026-01-14 14:17:31 -03:00

18 lines
478 B
Plaintext

<% unless check_all_button? %>
<% with_check_all_button { I18n.t(:button_check_all) } # set the default %>
<% end %>
<% unless uncheck_all_button? %>
<% with_uncheck_all_button { I18n.t(:button_uncheck_all) } # set the default %>
<% end %>
<% unless separator? %>
<% with_separator { "|" } # set the default %>
<% end %>
<%= render(Primer::BaseComponent.new(**@system_arguments)) do %>
<%= check_all_button %>
<%= separator %>
<%= uncheck_all_button %>
<% end %>