module Avo::Fields::Concerns::HasHTMLAttributes

def parse_html

Returns Hash, HTML::Builder, or nil.
def parse_html
  return if @html.nil?
  if @html.is_a? Hash
    @html
  elsif @html.respond_to? :call
    Avo::HTML::Builder.parse_block(record: record, resource: resource, &@html)
  end
end