# File lib/bootstrap_form/helpers/bootstrap.rb, line 47 def static_control(*args, &block) options = args.extract_options! name = args.first html = if block_given? capture(&block) else object.send(name) end form_group_builder(name, options) do content_tag(:p, html, class: static_class) end end