We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae71197 commit 33783a3Copy full SHA for 33783a3
1 file changed
service/src/main/kotlin/app/cash/backfila/ui/pages/ServiceInfoAction.kt
@@ -152,7 +152,7 @@ class ServiceInfoAction @Inject constructor(
152
method = FormMethod.post
153
button(classes = "inline-flex items-center px-4 py-2 border border-red-300 text-sm font-medium rounded-md text-red-700 bg-white hover:bg-red-50") {
154
type = ButtonType.submit
155
- onClick = "return confirm('Are you sure you want to delete the $service ($variant) service variant? This cannot be undone.')"
+ attributes["onclick"] = "return confirm('Are you sure you want to delete the $service ($variant) service variant? This cannot be undone.')"
156
+"Delete Variant"
157
}
158
0 commit comments