]> git.openstreetmap.org Git - rails.git/commit
Refactor richtext fields to use a custom bootstrap_form input.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Jan 2021 14:05:39 +0000 (14:05 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Jan 2021 14:05:39 +0000 (14:05 +0000)
commit78bf2993e4c2f895b5debcdd6101a1febbcb69ca
tree2b5f54ec6198389601257458b3dad03831a3e1f6
parented07e17ca2e7fdd41d876e02c3bad213af84eef5
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.
app/views/diary_entries/edit.html.erb
app/views/diary_entries/new.html.erb
app/views/shared/_richtext_field.html.erb
config/initializers/bootstrap_form.rb [new file with mode: 0644]
lib/bootstrap_form/inputs/richtext_field.rb [new file with mode: 0644]
lib/richtext_form_builder.rb [deleted file]