class Primer::Forms::Base

def inherited(base)

def inherited(base)
  base.renders_template "after_content.html.erb" do
    base.instance_variable_set(:@has_after_content, true)
  end
  base.renders_templates "*_caption.html.erb" do |path|
    base.fields_with_caption_templates << File.basename(path).chomp("_caption.html.erb").to_sym
  end
end