class ActiveAdmin::HasManyBuilder
def render(&block)
def render(&block) html = "".html_safe html << template.content_tag(:h3, class: "has-many-fields-title") { heading } if heading.present? html << template.capture { content_has_many(&block) } html = wrap_div_or_li(html) template.concat(html) if template.output_buffer html end