fix(sva): disable svr configuration since until implementation

This commit is contained in:
Colin Darie 2023-06-21 12:37:21 +02:00
parent f369775d5b
commit 07f10070e9
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
4 changed files with 16 additions and 6 deletions

View file

@ -18,9 +18,9 @@ class Procedure::SVASVRFormComponent < ApplicationComponent
scope = ".decision_buttons"
[
{ label: t("disabled", scope:), value: "disabled" },
{ label: t("disabled", scope:), value: "disabled", disabled: form_disabled? },
{ label: t("sva", scope:), value: "sva", hint: t("sva_hint", scope:) },
{ label: t("svr", scope:), value: "svr", hint: t("svr_hint", scope:) }
{ label: t("svr", scope:), value: "svr", hint: t("svr_hint", scope:), disabled: true, after_label: tag.span("Disponible prochainement", class: "fr-badge fr-badge--sm fr-ml-1w") }
]
end