Bootstrap 5: Remove use of form-row class

This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.
This commit is contained in:
Andy Allan 2022-05-11 15:31:50 +01:00
parent 779167e493
commit 2080696fe6
8 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,4 @@
<div id="<%= id %>_container" class="form-row richtext_container">
<div id="<%= id %>_container" class="row richtext_container">
<div id="<%= id %>_content" class="col-sm-8 mb-3 mb-sm-0 richtext_content">
<%= builder.text_area(attribute, options.merge(:wrapper => false, "data-preview-url" => preview_url(:type => type))) %>
<div id="<%= id %>_preview" class="richtext_preview richtext text-break"></div>