We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75dcf8 commit b2aae13Copy full SHA for b2aae13
model-server/src/main/kotlin/org/modelix/model/server/handlers/ui/RepositoryOverview.kt
@@ -12,6 +12,7 @@ import kotlinx.html.a
12
import kotlinx.html.form
13
import kotlinx.html.h1
14
import kotlinx.html.i
15
+import kotlinx.html.onClick
16
import kotlinx.html.p
17
import kotlinx.html.postButton
18
import kotlinx.html.span
@@ -120,6 +121,7 @@ fun FlowContent.buildDeleteRepositoryForm(repositoryId: String) {
120
121
postButton {
122
name = "delete"
123
formAction = "../v2/repositories/${repositoryId.encodeURLPathPart()}/delete"
124
+ onClick = "return confirm('Are you sure you want to delete the repository $repositoryId?')"
125
+"Delete Repository"
126
}
127
0 commit comments