Skip to content

Commit

Permalink
fixup! Update ViewTechniqueTabs.elm
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Oct 17, 2023
1 parent d7313fd commit 638f170
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ techniqueParameter model technique param opened =
)
(invalidParamClass, invalidParamElem) =
if (Regex.contains ((Regex.fromString >> Maybe.withDefault Regex.never) "[^_a-zA-Z\\d]") param.name) then
("error", ul [class "row"] [ li [ class "text-danger col-sm-8" ] [ text "Invalid variable name is required, valid characters are [_a-zA-Z\\d]" ] ] )
("error", ul [class "row"] [ li [ class "text-danger col-sm-8" ] [ text "The variable name is invalid, only alphanumerical characters and _ are accepted" ] ] )
else
("", text "")
(invalidNameClass, invalidNameElem) =
Expand Down Expand Up @@ -341,4 +341,4 @@ techniqueTab model technique creation ui =
pre [class "command-output pre-scrollable"] [ text out.stderr ]
]
]
]
]

0 comments on commit 638f170

Please sign in to comment.