def render_post_field(post_field, key_parent = 'fields')
      # define key
      key = "#{key_parent}[#{post_field.id}]"
      # render correct field
      case post_field.typology
      when 'text'
        render_post_field_text(post_field, key)
      when 'textarea'
        render_post_field_textarea(post_field, key)
      when 'datetime'
        render_post_field_datetime(post_field, key)
      when 'editor'
        render_post_field_editor(post_field, key)
      when 'geolocalization'
        render_post_field_geolocalization(post_field, key)
      when 'image'
        render_post_field_image(post_field, key)
      when 'gallery'
        render_post_field_gallery(post_field, key)
      when 'youtube'
        render_post_field_youtube(post_field, key)
      when 'composed'
        render_post_field_composed(post_field, key)
      when 'relay'
        render_post_field_relay(post_field, key)
      end
    end
def render_post_field(post_field, key_parent = 'fields')
      # define key
      key = "#{key_parent}[#{post_field.id}]"
      # render correct field
      case post_field.typology
      when 'text'
        render_post_field_text(post_field, key)
      when 'textarea'
        render_post_field_textarea(post_field, key)
      when 'datetime'
        render_post_field_datetime(post_field, key)
      when 'editor'
        render_post_field_editor(post_field, key)
      when 'geolocalization'
        render_post_field_geolocalization(post_field, key)
      when 'image'
        render_post_field_image(post_field, key)
      when 'gallery'
        render_post_field_gallery(post_field, key)
      when 'youtube'
        render_post_field_youtube(post_field, key)
      when 'composed'
        render_post_field_composed(post_field, key)
      when 'relay'
        render_post_field_relay(post_field, key)
      end
    end
This function render a single post field.