diff --git a/_config/config.yml b/_config/config.yml index 5f1eef0..c306495 100644 --- a/_config/config.yml +++ b/_config/config.yml @@ -25,3 +25,6 @@ Syntro\SilverstripeBootstrapForms\Forms\TextField: Syntro\SilverstripeBootstrapForms\Forms\PhoneField: default_classes: ['form-control'] + +Syntro\SilverstripeBootstrapForms\Forms\ReadonlyField: + default_classes: ['form-control'] diff --git a/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss b/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss new file mode 100644 index 0000000..86faf6b --- /dev/null +++ b/templates/Syntro/SilverstripeBootstrapForms/Forms/ReadonlyField.ss @@ -0,0 +1 @@ +