This commit adds a button that allows users to cancel the inline edit operation they started.
10 lines
197 B
Plaintext
10 lines
197 B
Plaintext
<%# locals: (text: "Cancel", extra_class: nil) %>
|
|
|
|
<%== part(
|
|
"components/button",
|
|
text: text,
|
|
icon: "hero-x-circle",
|
|
extra_class: "cancel-inline-btn #{extra_class}",
|
|
type: "danger"
|
|
) %>
|