1 <div id="<%= id %>_container" class="row richtext_container">
2 <div id="<%= id %>_content" class="col-sm-8 mb-3 mb-sm-0 richtext_content">
3 <%= builder.text_area(attribute, options.merge(:wrapper => false, "data-preview-url" => preview_url(:type => type))) %>
4 <div id="<%= id %>_preview" class="richtext_preview richtext text-break"></div>
6 <div id="<%= id %>_help" class="col-sm-4 richtext_help">
7 <div class="card bg-light h-100">
8 <div class="card-body">
9 <%= render :partial => "shared/#{type}_help" %>
10 <%= submit_tag t(".edit"), :id => "#{id}_doedit", :class => "richtext_doedit btn btn-primary", :disabled => true %>
11 <%= submit_tag t(".preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview btn btn-primary" %>