1 class RichtextFormBuilder < BootstrapForm::FormBuilder
2 def richtext_field(attribute, options = {})
3 id = "#{@object_name}_#{attribute}"
4 type = options.delete(:format) || "markdown"
6 @template.render(:partial => "shared/richtext_field",
7 :locals => { :object => @object,
8 :attribute => attribute,
9 :object_name => @object_name,