diff --git a/KratosSelfService/Views/Shared/Components/KratosUiNodeInput/InputSubmit.cshtml b/KratosSelfService/Views/Shared/Components/KratosUiNodeInput/InputSubmit.cshtml index 3b62453..d4ed873 100644 --- a/KratosSelfService/Views/Shared/Components/KratosUiNodeInput/InputSubmit.cshtml +++ b/KratosSelfService/Views/Shared/Components/KratosUiNodeInput/InputSubmit.cshtml @@ -4,12 +4,19 @@ var attributes = Model.node.Attributes.GetKratosUiNodeInputAttributes(); var uiText = attributes.Label ?? Model.node.Meta.Label; var isFullWidth = Model.FlowType != FlowType.Settings; + var buttonType = attributes.Name switch + { + "lookup_secret_disable" => "is-warning", + "totp_unlink" => "is-warning", + _ => "is-success" + }; + }