Refactor richtext fields to use a custom bootstrap_form input.

This allows us to use form_group_builder and get all the label and
help text handling in line with other bootstrap_form inputs.
This commit is contained in:
Andy Allan 2021-01-13 14:05:39 +00:00
parent ed07e17ca2
commit 78bf2993e4
6 changed files with 50 additions and 31 deletions

View file

@ -0,0 +1,2 @@
# Include our custom RichtextField input method for `f.richtext_field` in forms
BootstrapForm::FormBuilder.include BootstrapForm::Inputs::RichtextField