/**
  * Lays out a row for the subsection
  * @param EE_Form_Section_Proper $form_section
  * @return string
  */
 public function layout_subsection($form_section)
 {
     $html = '';
     if ($form_section instanceof EE_Form_Section_HTML) {
         $html .= $form_section->get_html();
     } else {
         $html .= EEH_HTML::tr(EEH_HTML::td($form_section->get_html(), '', '', '', 'colspan="2"'));
     }
     return $html;
 }
 /**
  * Lays out a row for the subsection
  * @param EE_Form_Section_Proper $form_section
  * @return string
  */
 public function layout_subsection($form_section)
 {
     if ($form_section instanceof EE_Form_Section_Proper) {
         return EEH_HTML::no_row($form_section->get_html(), 2);
     } else {
         if ($form_section instanceof EE_Form_Section_HTML) {
             return $form_section->get_html();
         }
     }
     return '';
 }
 /**
  * Lays out a row for the subsection
  * @param EE_Form_Section_Proper $form_section
  * @return string
  */
 public function layout_subsection($form_section)
 {
     //		d( $form_section );
     return EEH_HTML::nl(1) . $form_section->get_html() . EEH_HTML::nl(-1);
 }
 /**
  * @return string
  */
 public function display_reg_form()
 {
     $html = '';
     if ($this->reg_form instanceof EE_Form_Section_Proper) {
         $html .= !$this->checkout->admin_request ? $this->reg_form->form_open($this->reg_step_url()) : '';
         if (EE_Registry::instance()->REQ->ajax) {
             $this->reg_form->localize_validation_rules();
             $this->checkout->json_response->add_validation_rules(EE_Form_Section_Proper::js_localization());
             $html .= $this->reg_form->get_html();
         } else {
             $html .= $this->reg_form->get_html_and_js();
         }
         $html .= !$this->checkout->admin_request ? $this->reg_step_submit_button() : '';
         $html .= !$this->checkout->admin_request ? $this->reg_form->form_close() : '';
     }
     return $html;
 }