mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-07 07:11:58 +08:00
After running these changes, there are 1 error and 3 warnings when running the linter, due to bugs in the linter (https://github.com/marcoroth/herb/issues 480, 481, 483).
19 lines
495 B
Text
19 lines
495 B
Text
<%# locals: (content:, message: "Copied", revealable: false, classes: "") %>
|
|
|
|
<div
|
|
class="copyable-content inline-flex items-center gap-1 <%= classes %>"
|
|
data-content="<%= content %>"
|
|
data-message="<%= message %>"
|
|
>
|
|
<% if revealable %>
|
|
<%== part("components/revealable_content", content:) %>
|
|
<% else %>
|
|
<%= content %>
|
|
<% end %>
|
|
<img
|
|
alt=""
|
|
src="/icons/hero-clipboard-document.svg"
|
|
width="18px"
|
|
class="inline-block copy-button cursor-pointer ms1"
|
|
>
|
|
</div>
|