Module: GOVUKDesignSystemFormBuilder::Traits::Localisation

Included in:
Elements::Caption, Elements::CheckBoxes::Label, Elements::Hint, Elements::Label, Elements::Legend
Defined in:
lib/govuk_design_system_formbuilder/traits/localisation.rb

Constant Summary collapse

BASE_NAME_REGEXP =

starts with an letter that is followed by other word characters or spaces, zero or more times

%r{[[:alpha:]](?:[\w\s]*)}