lib/formalizer/form_field.rb
# Renders the field as HTML control
# * +parent_node+ - the HTML parent under which to render (needed by Nokogiri)
# * +locale+ - localized input. Relevant if field_type is enum or multiple
Renders the field as HTML control
+parent_node+ - the HTML parent under which to render (needed by Nokogiri)
+locale+ - localized input. Relevant if field_type is enum or multiple
Renders the field as HTML control + parent_node + - the HTML parent under which to render ( needed by Nokogiri ) + locale + - localized input . Relevant if field_type is enum or multiple
def render_html parent_node, locale = I18n.locale
      inp = send("render_html_#{TYPES.key(@field_type)}", parent_node, locale)
      inp['id'] = @id
      inp['name'] = @id
      return inp
    end
def render_html parent_node , locale = I18n . locale inp = send ( "render_html_#{TYPES.key(@field_type)}" , parent_node , locale ) inp [ 'id' ] = @id inp [ 'name' ] = @id return inp end
Renders the field as HTML control
 +parent_node+ - the HTML parent under which to render (needed by Nokogiri)
 +locale+ - localized input.
Renders the field as HTML control + parent_node + - the HTML parent under which to render ( needed by Nokogiri ) + locale + - localized input .
parent_node
<not_specific>
locale
<not_specific>